Created Iframe component

This commit is contained in:
Gutts-n
2024-01-17 21:54:22 -03:00
parent a93b13f448
commit e5b0a85e48
2 changed files with 3 additions and 3 deletions

View File

@@ -9,6 +9,6 @@ export function Iframe({
url, style
}: IframeProps) {
return (
<iframe src={url} style={style ?? {}}></iframe>
<iframe src={url} style={style ?? { width: `100%`, height: `100%` }}></iframe>
);
}