design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Typescript best practices for Thinkmill design system components

Open gwyneplaine opened this issue 5 years ago • 0 comments

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.

gwyneplaine avatar Nov 06 '19 02:11 gwyneplaine