trendmicro-frontend / tonic-ui

Tonic UI is a UI component library for React, built with Emotion and Styled System. It is designed to be easy to use and easy to customize.
https://trendmicro-frontend.github.io/tonic-ui
MIT License
125 stars 28 forks source link

Proposal: Adding support for Typescript-based Tonic component examples #885

Open trend-albert-shala opened 2 months ago

trend-albert-shala commented 2 months ago

Proposal: Adding support for Typescript-based Tonic component examples

Context

Our teams in Canada are developing web applications primarily using Typescript for writing React components. These components are based on Tonic UI components but enhanced with Typescript's type checking. This approach has been in place for some time, and various teams are either building new web applications or contributing to existing ones that use Typescript. As our experience with integrating Typescript and Tonic components has grown, so has the need for well-documented examples of common components like Menus, Inputs, Modals, and Tables that adhere to these patterns and practices.

Proposal

Allow for addition of Typescript-based Tonic component examples to the Tonic repository, similar to the existing JavaScript examples. These examples should be referenced within the existing v2+ documentation.