Motivation
There are a wide variety of props that are shared across components and a scalable solution to add, remove, or modify how those props apply to multiple components is a should have feature of this component library.
Prop Groups
- Default Props (
id, className, etc)
- Layout Props (
padding, margin, etc)
- Event Props (
onClick, onChange, etc)
Resources / Possible Options
- Styled System works w/ styled components and may be a good solution for highly-shareable props (e.g. layout styles)
Motivation
There are a wide variety of props that are shared across components and a scalable solution to add, remove, or modify how those props apply to multiple components is a should have feature of this component library.
Prop Groups
id,className, etc)padding,margin, etc)onClick,onChange, etc)Resources / Possible Options