/**
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
* SPDX-License-Identifier: MIT
*/
// @ts-expect-error
import { PackageManagerTabs, SourceCode } from '@theme';
export function MaterialDisplay(props: any) {
return (
components/type-selector
'By CLI': `npx @flowgram.ai/form-materials@latest ${props.filePath
.split('/')
.slice(0, -1)
.join('/')}`,
}}
/>
{props.imgs.map((img: string | any, index: number) => (

{img.caption && (
{img.caption}
)}
))}
{props.children}
);
}