0.2.0 • Published 2 years ago

babel-plugin-extract-react-types v0.2.0

Weekly downloads
904
License
MIT
Repository
github
Last release
2 years ago

babel-plugin-extract-react-types

A Babel plugin to store the types of React components as a property on the component for documentation

Install

yarn add babel-plugin-extract-react-types pretty-proptypes

Usage

.babelrc

{
  "plugins": ["babel-plugin-extract-react-types"]
}
import SomeComponent from 'somewhere';
import Props from 'pretty-proptypes';

<Props heading="My Component" component={SomeComponent} />;

Inspiration

0.2.0

2 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago