Skip to content

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

Notifications You must be signed in to change notification settings

component-driven/react-docgen-annotation-resolver

 
 

Repository files navigation

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;

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%