Closed
Description
Like, is there a way to write something like:
/* Buttons.css.js */
export const primary `
background-color: green;
padding: 15px 30px;
`
export const danger `
background-color: red;
padding: 15px 30px;
`
/* Form.js */
import * as Buttons from './css/Buttons.css'
<Text style={Buttons.primary}>Submit</Text>
<Text style={Buttons.danger}>Delete</Text>
And have css-to-react-native transform it somehow?
Sorry, I see how it works for people who might want to write a plugin for it, but not for casual users just trying to avoid writing standard RN style objects.
Metadata
Metadata
Assignees
Labels
No labels