File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -157,12 +157,8 @@ module rec Props =
157157 | Y1 of obj
158158 | Y2 of obj
159159 | Y of obj
160- #if ! FABLE_ COMPILER
161- | Custom of string * obj
162- #else
163160 /// 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")
164- static member inline Custom ( key : string , value : obj ) : SVGAttr = !!( key, value)
165- #endif
161+ | [<Erase>] Custom of string * obj
166162 interface IProp
167163
168164 type HTMLAttr =
@@ -311,12 +307,10 @@ module rec Props =
311307 | Results of float
312308 | Security of string
313309 | Unselectable of bool
310+ | [<Erase>] Custom of string * obj
314311#if ! FABLE_ COMPILER
315- | Custom of string * obj
316312 | Style of CSSProp list
317313 | Data of string * obj
318- #else
319- static member inline Custom ( key : string , value : obj ) : HTMLAttr = !!( key, value)
320314#endif
321315 interface IHTMLProp
322316
@@ -726,12 +720,8 @@ module rec Props =
726720 | WritingMode of obj
727721 | ZIndex of obj
728722 | Zoom of obj
729- #if ! FABLE_ COMPILER
730- | Custom of string * obj
731- #else
732723 /// 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")
733- static member inline Custom ( key : string , value : obj ) : CSSProp = !!( key, value)
734- #endif
724+ | [<Erase>] Custom of string * obj
735725
736726#if FABLE_ COMPILER
737727 let inline Style ( css : CSSProp seq ): HTMLAttr =
You can’t perform that action at this time.
0 commit comments