Skip to content

Commit

Permalink
Merge pull request fable-compiler#57 from MecuSorin/master
Browse files Browse the repository at this point in the history
Hint on how to use not supported DSL.
  • Loading branch information
alfonsogarciacaro committed Feb 6, 2018
2 parents 084ec4c + cc94bb3 commit d9c7dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Fable.React/Fable.Helpers.React.fs
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,8 @@ module Props =
| WritingMode of obj
| ZIndex of obj
| Zoom of obj
/// 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")
static member inline Custom (key: string, value: obj) : CSSProp = !!(key, value)

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

0 comments on commit d9c7dd5

Please sign in to comment.