News for hackers. Stuff that matters.
Re:Show HN: React Timekeeper – Time picker based on the styl... by catc on Tuesday April 25, 2017 @05:22PM (#14198174)
Yeah, for now. I'll eventually add some way to pass in custom classes or something.
Re:Show HN: React Timekeeper – Time picker based on the styl... by fishnchips on Wednesday April 26, 2017 @02:56AM (#14201007)
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.