Advanced styled components for React.
- ๐ Styled components
- ๐ Native updates without rerender
- ๐ค State (hover, focus...) specific styles
- ๐จ String based property shortcuts
Use the tag
method to apply styles to any tag resulting in reusable and extendable styled components.
import { render } from 'epic-jsx'
import { tag } from 'epic-tag'
const MyButton = tag('button', 'color-blue', { hover: 'color-red', focus: 'color-green' })
render(<MyButton>Hover Me!</MyButton>)