diff --git a/packages/fastui/src/components/Iframe.tsx b/packages/fastui/src/components/Iframe.tsx new file mode 100644 index 00000000..1df4bc40 --- /dev/null +++ b/packages/fastui/src/components/Iframe.tsx @@ -0,0 +1,17 @@ +import { FC } from 'react' + +import { ClassName } from '../hooks/className' + +export interface IframeProps { + type: 'Iframe' + src: string + width?: string | number + height?: string | number + title?: string + className?: ClassName +} + +export const IframeComp: FC = (props) => { + const { src, width, height, title } = props + return