@mochi-ui/polymorphic
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

@mochi-ui/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 @mochi-ui/polymorphic

# Using NPM
npm i @mochi-ui/polymorphic

# Using Yarn
yarn add @mochi-ui/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.

/@mochi-ui/polymorphic/

    Package Sidebar

    Install

    npm i @mochi-ui/polymorphic

    Weekly Downloads

    1

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    7.42 kB

    Total Files

    12

    Last publish

    Collaborators

    • ldchinh
    • daotuan
    • console.labs