0.7.2 • Published 7 years ago
preact-styled-jsx v0.7.2
preact-styled-jsx
Tiny (1kb) wrapper around styled-jsx for easier use with preact.
Note: This package does depend on styled jsx.
Getting Started
Add preact-styled-jsx/babel
to presets
in your babel configuration:
{
"presets": [
"preact-styled-jsx/babel"
]
}
Then use exactly like you would styled-jsx