npm.io
1.1.1 • Published 8 years agoCLI

@wertarbyte/react-props-md-table

Licence
MIT
Version
1.1.1
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
6

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.