https://github.com/c-ehrlich/ts-unions
Experimenting with Union Types as Component Props in TS/React
https://github.com/c-ehrlich/ts-unions
Last synced: about 1 year ago
JSON representation
Experimenting with Union Types as Component Props in TS/React
- Host: GitHub
- URL: https://github.com/c-ehrlich/ts-unions
- Owner: c-ehrlich
- Created: 2022-06-03T12:54:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T12:54:40.000Z (about 4 years ago)
- Last Synced: 2024-10-11T15:47:12.373Z (over 1 year ago)
- Language: TypeScript
- Size: 183 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-unions
## What is this?
Some experiments about using TypeScript Union Types as Component Props in React
The main point is to reference the code in `/components` in the future, but you can also `yarn start` to see some examples of the components being implemented