Inline Component Styles With Reason React
Last updated
Was this helpful?
Last updated
Was this helpful?
If you've written much React.js, the following may look familiar:
This is how we do inline styles with JSX in JavaScript.
When it comes to doing inline styles with JSX in our ReasonML code, the best approach for now is to use a make
function for styles provided by the React DOM bindings.