File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
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,9 +708,14 @@ module Props =
717708 | WritingMode of obj
718709 | ZIndex of obj
719710 | Zoom of obj
720- interface ICSSProp
721- /// If you are searching for a way to provide a value not supported by this DSL then use something like: CSSProp.Custom "align-content" "center"
722- static member inline Custom ( key : string ) ( value : obj ) : ICSSProp = !!( key, value)
711+ /// If you are searching for a way to provide a value not supported by this DSL then use something like: CSSProp.Custom ("align-content", "center")
712+ static member inline Custom ( key : string , value : obj ) : CSSProp = !!( key, value)
713+
714+ let inline Style ( css : CSSProp list ): HTMLAttr =
715+ !!( " style" , keyValueList CaseRules.LowerFirst css)
716+
717+ let inline Data ( key : string , value : obj ): IHTMLProp =
718+ !!( " data-" + key, value)
723719
724720open Props
725721open Fable.Import .React
You can’t perform that action at this time.
0 commit comments