react-docgen-typescript-loader icon indicating copy to clipboard operation
react-docgen-typescript-loader copied to clipboard

Filter Components

Open samuelcastro opened this issue 7 years ago • 1 comments
trafficstars

In my storybook documentation I have some components that are using others components, the docgen loader is generating prop documentation for all of them, however I'd like to document just one specific, for instance:

Form.storybook.js

<Form>
  <FormItem>
       <Input /> 
       <Input />
   <FormItem>
</Form>

The <Input /> props are being documented again, however I want to filter it out since I have another storybook for it.

Any ideas how can I achieve it?

samuelcastro avatar Oct 24 '18 20:10 samuelcastro

Is there something similar to propFilter or filtering at the component storybook level

montoya332 avatar May 28 '20 02:05 montoya332