react-docgen-annotation-resolver icon indicating copy to clipboard operation
react-docgen-annotation-resolver copied to clipboard

Allow react-docgen to resolve react components based on an annotation.

Build Status code style: prettier

react-docgen-annotation-resolver

Parse @component annotated export as a react component.

const myComponent = () => (
  <h1>Component</h1>
);

/**
 * @component
 */
export default myComponent;