typescript-to-proptypes
An API for converting TypeScript definitions to PropTypes using the TypeScript Compiler API
Install
yarn add typescript-to-proptypes --dev
or
npm install typescript-to-proptypes --save-dev
Support
Component type | |
---|---|
Class | |
Function | |
Const functions | |
React.memo | |
React.ForwardRef |
License
This project is licensed under the terms of the MIT license.