An open API service indexing awesome lists of open source software.

https://github.com/teamwertarbyte/react-props-md-table

A markdown table generator for React component props.
https://github.com/teamwertarbyte/react-props-md-table

documentation-tool markdown react

Last synced: 12 months ago
JSON representation

A markdown table generator for React component props.

Awesome Lists containing this project

README

          

# 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. |