1
1
import type { ElementCssStyleData } from "@coli.codes/css" ;
2
- import type { Color , DimensionLength , IWHStyleWidget } from "@reflect-ui/core" ;
2
+ import type { DimensionLength , IWHStyleWidget } from "@reflect-ui/core" ;
3
3
import { WidgetKey } from "../../widget-key" ;
4
4
import type { StylableJSXElementConfig } from "../../widget-core" ;
5
5
import { Container } from "../container" ;
@@ -38,8 +38,8 @@ export interface IIframeProps {
38
38
39
39
readonly src ?: string ;
40
40
readonly srcdoc ?: string ;
41
- readonly fwidth : DimensionLength ;
42
- readonly fheight : DimensionLength ;
41
+ readonly fwidth ? : DimensionLength ;
42
+ readonly fheight ? : DimensionLength ;
43
43
44
44
readonly allow ?: string ;
45
45
readonly loading ?: "eager" | "lazy" ;
@@ -54,8 +54,8 @@ export class HtmlIframe extends Container implements IIframeProps {
54
54
55
55
readonly src ?: string ;
56
56
readonly srcdoc ?: string ;
57
- readonly fwidth : DimensionLength ;
58
- readonly fheight : DimensionLength ;
57
+ readonly fwidth ? : DimensionLength ;
58
+ readonly fheight ? : DimensionLength ;
59
59
60
60
readonly allow ?: string ;
61
61
readonly loading ?: "eager" | "lazy" ;
@@ -69,8 +69,8 @@ export class HtmlIframe extends Container implements IIframeProps {
69
69
title,
70
70
src,
71
71
srcdoc,
72
- fwidth : width ,
73
- fheight : height ,
72
+ fwidth,
73
+ fheight,
74
74
allow,
75
75
loading,
76
76
name,
@@ -84,8 +84,8 @@ export class HtmlIframe extends Container implements IIframeProps {
84
84
this . title = title ;
85
85
this . src = src ;
86
86
this . srcdoc = srcdoc ;
87
- this . fwidth = width ;
88
- this . fheight = height ;
87
+ this . fwidth = fwidth ;
88
+ this . fheight = fheight ;
89
89
this . allow = allow ;
90
90
this . loading = loading ;
91
91
this . name = name ;
0 commit comments