@consolelabs/polymorphic
v0.0.2
Published
This package enhances the type safety and flexibility of React components utilizing forward refs and polymorphism. It includes utility types such as Merge for merging props, or OwnProps for inferring the props of a component.
Downloads
4
Readme
@consolelabs/polymorphic
This package enhances the type safety and flexibility of React components utilizing forward refs and polymorphism. It includes utility types such as Merge for merging props, or OwnProps for inferring the props of a component.
Installation
Feel free to use the package manager of your choice:
# Using PNPM
pnpm i @consolelabs/polymorphic
# Using NPM
npm i @consolelabs/polymorphic
# Using Yarn
yarn add @consolelabs/polymorphic
Contribution
We welcome your contributions! For guidance on how to contribute, please refer to our Contribution Guidelines.
Licence
This project is licensed under the terms of the MIT license.