0.4.1 • Published 4 months ago

epic-tag v0.4.1

Weekly downloads
-
License
CC-BY-NC-4.0
Repository
github
Last release
4 months ago

epic-tag

Advanced styled components for React.

  • 💅 Styled components
  • 🏠 Native updates without rerender
  • 🤌 State (hover, focus...) specific styles
  • 💨 String based property shortcuts

Usage

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>)
0.4.1

4 months ago

0.4.0

4 months ago

0.3.0

4 months ago

0.2.1

8 months ago

0.2.0

8 months ago

0.1.1

9 months ago

0.1.0

9 months ago