brewkit / components

An easy-to-theme design system for creating impactful UIs using React and TypeScript.
MIT License
5 stars 5 forks source link

Extend other types #93

Closed emdrayallday closed 4 years ago

emdrayallday commented 4 years ago

Description

Allows ability to pass the component prop without a typescript error throwing

Came up with solution by reviewing material ui docs Link to docs

Maybe want to extend this further to allow more generic props to be extended instead of just the component prop

Types of changes

Checklist: