@wertarbyte/react-props-md-table
v1.1.1
Published
A markdown table generator for React component props.
Downloads
17
Readme
react-props-md-table
This tiny tool uses react-docgen to generate markdown tables of the props of a React component.
Installation
npm i -g @wertarbyte/react-props-md-table`
Usage
props-table [-p] path/to/SomeComponent.js
| Option | Description |
|--------|--------------------------|
| -p
| Pretty-print the output. |