@mui-internal/typescript-to-proptypes
v1.0.3
Published
Generate proptypes from TypeScript declarations. This is a fork of the typescript-to-proptypes package adapted for MUI needs. This is an internal package not meant for general use.
Downloads
6
Maintainers
Keywords
Readme
@mui-internal/typescript-to-proptypes
An API for converting TypeScript definitions to PropTypes using the TypeScript Compiler API.
This package has been adapted for MUI needs. It is not meant for general use.
Support
| Component type | | | :--------------- | :----------------- | | Class | :heavy_check_mark: | | Function | :heavy_check_mark: | | Const functions | :heavy_check_mark: | | React.memo | :heavy_check_mark: | | React.ForwardRef | :heavy_check_mark: |
License
This project is licensed under the terms of the MIT license.
Release
- Build the project:
pnpm build
- Publish the build artifacts to npm:
pnpm release:publish