File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ open Fable.Core.JsInterop
55open Fable.Import
66
77module Props =
8- type ICSSProp =
9- interface end
10-
118 type IProp =
129 interface end
1310
@@ -245,12 +242,6 @@ module Props =
245242 | Unselectable of bool
246243 interface IHTMLProp
247244
248- let inline Style ( css : ICSSProp list ): HTMLAttr =
249- !!( " style" , keyValueList CaseRules.LowerFirst css)
250-
251- let inline Data ( key : string , value : obj ): IHTMLProp =
252- !!( " data-" + key, value)
253-
254245 type SVGAttr =
255246 | ClipPath of string
256247 | Cx of obj
@@ -717,7 +708,12 @@ module Props =
717708 | WritingMode of obj
718709 | ZIndex of obj
719710 | Zoom of obj
720- interface ICSSProp
711+
712+ let inline Style ( css : CSSProp list ): HTMLAttr =
713+ !!( " style" , keyValueList CaseRules.LowerFirst css)
714+
715+ let inline Data ( key : string , value : obj ): IHTMLProp =
716+ !!( " data-" + key, value)
721717
722718open Props
723719open Fable.Import .React
You can’t perform that action at this time.
0 commit comments