Skip to content

Commit d9c7dd5

Browse files
Merge pull request #57 from MecuSorin/master
Hint on how to use not supported DSL.
2 parents 084ec4c + cc94bb3 commit d9c7dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Fable.React/Fable.Helpers.React.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,8 @@ module Props =
708708
| WritingMode of obj
709709
| ZIndex of obj
710710
| Zoom of obj
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)
711713

712714
let inline Style (css: CSSProp list): HTMLAttr =
713715
!!("style", keyValueList CaseRules.LowerFirst css)

0 commit comments

Comments
 (0)