purescript-react-basic-native
purescript-react-basic-native copied to clipboard
defining stylesheets
I see a stylesheet defined in js in the examples, but is there a way to create stylesheets in purescript, maybe in combination using another library? I checked the generated code in case I missed something.
I poked around a bit more and found that the style type is CSS, an opaque foreign type that seems to accept any record:
RN.view
{ style:
css
{ alignItems: "left"
, backgroundColor: "#fff"
}