Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@jswork/react-markdown-props

afeiship6MIT1.0.1

Generate markdown properties string.

react, docs, react-docgen, properties

readme

react-markdown-props

Generate markdown properties string.

version license size download

installation

npm install -S @jswork/react-markdown-props

usage

import rmp from '@jswork/react-markdown-props';

rmp('./src/components/index.js');

// output
| Name        | Type   | Required | Default | Description                                 |
| ----------- | ------ | -------- | ------- | ------------------------------------------- |
| className   | string | false    | -       | The extended className for component.       |
| value       | object | false    | null    | Default value.                              |
| onChange    | func   | false    | noop    | The change handler.                         |
| destroyable | bool   | false    | -       | If element destroyed when visible to false. |
| backdrop    | union  | false    | -       | Backdrop props or not display backdrop.     |

resources

license

Code released under the MIT license.