react-docgen-typescript-markdown-render
Markdown render for react-docgen-typescript
Getting Started
yarn add react-docgen-typescript-markdown-render
;;;console.logmarkdownRendercomponentDocs;
The Component Column.tsx
;;/*** Column properties.*//*** Form column.*/
Into
### ColumnForm column.#### Props| Name | Type | Default value | Description || ------------------ | ----------------------------------- | ------------- | ------------------------ || prop1 | string | "red" | prop1 description || prop2 _(required)_ | number | | prop2 description || prop3 _(required)_ | () => void | | prop3 description a \| b || prop4 _(required)_ | "option1" \| "option2" \| "option3" | | prop4 description 中文 |
License
Licensed under the APLv2. See the LICENSE file for details.