Best Practices - HelixDesignSystem/helix-react GitHub Wiki
Best practices when building Helix React components.
Props
Each Prop has a Single Responsibility
- Avoid overloading prop behavior
- e.g., using an
appearance
prop to modify both size and type
- e.g., using an