Last active
April 25, 2018 20:51
-
-
Save geraldodev/c16434b4887823bf3645fd0b02506bce to your computer and use it in GitHub Desktop.
Bare translation of the bits I needed from react-jss/lib/JssProvider just to integrate with bs-material-ui
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[@bs.module "react-jss/lib/JssProvider"] | |
external myJssProvider : ReasonReact.reactClass = "default"; | |
let make = (~jss: InsertionPoint.jssObj, ~generateClassName: string, children)=> | |
ReasonReact.wrapJsForReason( | |
~reactClass=myJssProvider, | |
~props={ "jss": jss, "generateClassName": generateClassName}, | |
children, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment