aphrodite-enhancer
Small Aphrodite utilities for plain object support. Isn't really ideal, but works.
Install
yarn add aphrodite-enhancer
Make sure to install aphrodite first
Usage
import css from 'aphrodite-enhancer'; { return <div /> ;} // or { return <div /> ;} // or some crazy shit { return <div /> ;} let styles = StyleSheet;
css()
returns with the following format:
{className: [], style: {}}
So you can do whatever you want with it.
Peace ✌️