Thinkmill / design-system

🎨 Thinkmill's Design System Style Guide
MIT License
32 stars 3 forks source link

Prop design best practices in Thinkmill design system components #11

Open gwyneplaine opened 5 years ago

gwyneplaine commented 5 years ago

Prop design is insanely critical to the successful adoption of a React design systems components.

Ideally a junior should be able to look at this document, and immediately be able to recognise major pitfalls that they should avoid when building a Thinkmill design system component in react.

jossmac commented 5 years ago

@gwyneplaine I actually wrote some stuff down just yesterday regarding prop patterns

gwyneplaine commented 5 years ago

@gwyneplaine I actually wrote some stuff down just yesterday https://github.com/thinkmill-training/react-patterns/tree/master/patterns/props-api-design

You must be a precog; fantastic thank you