react-docgen-annotation-resolver Parse @component annotated export as a react component. const myComponent = () => ( <h1>Component</h1> ); /** * @component */ export default myComponent;