A React plugin for ESDoc [PoC]
npm install esdoc-react-pluginjs
/**
* This is MyClass.
* @reactProps {!number} prop1 - this is prop1
* @reactProps {string} prop2 - this is prop2
*/
export default class MyClass extends React.Component {
}
`
Install
`bash
npm install esdoc-react-plugin
`Config
`json
{
"source": "./src",
"destination": "./doc",
"plugins": [
{"name": "esdoc-standard-plugin"},
{"name": "esdoc-react-plugin"}
]
}
``