Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fishnchips
on April 25, 2017
|
parent
|
context
|
favorite
| on:
Show HN: React Timekeeper – Time picker based on t...
Having read the docs I'd assume you need to pass your styles using a `config` prop.
catc
on April 25, 2017
[–]
Yeah, for now. I'll eventually add some way to pass in custom classes or something.
fishnchips
on April 26, 2017
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: