design-system
design-system copied to clipboard
Typescript best practices for Thinkmill design system components
Currently a typescript section exists, though its very light. This section should ideally cover the following:
- TM best practice for where to put types, should they go in a single types file, should they sit alongside the component? Why?
- TM best practice for exporting types for consumption
- TM best practice around writing typescript types for components.