-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for ES6. #3
Comments
@rahul1059 -- are you using ES6 classes by any chance? Where export class Example extends React.Component {
render() {
return (<div>Hello world!</div>);
}
}
Example.propTypes = { num: React.PropTypes.number };
Example.defaultProps = { num: 0 }; During testing we realized that |
@marsjosephine Yes I am using ES6 classes. If i add any comments they too are not picked up. |
@rahul1059 -- looks like the version of Would you mind providing us with some more detail about your setup? Perhaps a copy of the component you're trying to parse? Or what your |
import React from 'react'; // Hello World Version: 5.0.0 ); } } export default HelloWorld; Anyway thanks for help, i tried using esdoc and its working for me. |
@rahul1059 -- it doesn't look like the code above has any |
I tried to generate docs for es6 jsx files. No changes are included in docs apart from file names.
Is this supported?
The text was updated successfully, but these errors were encountered: