This tiny tool uses react-docgen to generate markdown tables of the props of a React component.
npm i -g @wertarbyte/react-props-md-table`
props-table [-p] path/to/SomeComponent.js
Option | Description |
---|---|
-p |
Pretty-print the output. |
This tiny tool uses react-docgen to generate markdown tables of the props of a React component.
npm i -g @wertarbyte/react-props-md-table`
props-table [-p] path/to/SomeComponent.js
Option | Description |
---|---|
-p |
Pretty-print the output. |
npm i @wertarbyte/react-props-md-table
1
1.1.1
MIT
3.19 kB
4