UNPKG

@wertarbyte/react-props-md-table

Version:
19 lines (14 loc) 423 B
# react-props-md-table This tiny tool uses [react-docgen][] to generate markdown tables of the props of a React component. [react-docgen]: https://github.com/reactjs/react-docgen ## Installation ``` npm i -g @wertarbyte/react-props-md-table` ``` ## Usage ``` props-table [-p] path/to/SomeComponent.js ``` | Option | Description | |--------|--------------------------| | `-p` | Pretty-print the output. |