enhance aphrodite with plain object support
npm install aphrodite-enhancer
yarn add aphrodite-enhancer
`
> Make sure to install aphrodite first
$3
`jsx
import css from 'aphrodite-enhancer';function View() {
return (
);
}// or
function View() {
return (
);
}// or some crazy shit
function View() {
return (
);
}let styles = StyleSheet.create({
foo: {
flex: 1,
},
bar: {
flexDirection: 'column',
}
});
`
css() returns with the following format:
`
{className: [], style: {}}
`` Peace :v: