Component start

This commit is contained in:
Gutts-n
2024-01-17 21:08:44 -03:00
parent 8a4ec39d25
commit a93b13f448
4 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
import { CSSProperties } from "react";
export interface IframeProps {
url: string;
style?: CSSProperties;
}
export function Iframe({
url, style
}: IframeProps) {
return (
<iframe src={url} style={style ?? {}}></iframe>
);
}

View File

@@ -9,3 +9,4 @@ export * from './components/Map';
export * from './components/PdfViewer';
export * from "./components/Excel";
export * from "./components/BucketViewer";
export * from "./components/Iframe";