Y
Hacker News
new
|
ask
|
show
|
jobs
by
fishnchips
3345 days ago
Having read the docs I'd assume you need to pass your styles using a `config` prop.
1 comments
catc
3345 days ago
Yeah, for now. I'll eventually add some way to pass in custom classes or something.
link
fishnchips
3345 days ago
I personally find a prop to be a perfectly acceptable solution - you can define styles in your JS and share between components if need be. But I reckon there are folks who'd prefer passing class names to define their styles in CSS.
link