hipstersmoothie / storybook-addon-react-docgen

A storybook addon to display react docgen info.
MIT License
87 stars 14 forks source link

chore: filter React Fragments #106

Closed petermikitsh closed 4 years ago

petermikitsh commented 4 years ago

Sample code:

export const Fragment = () => {
  return (
    <>
      <Button onClick={action('clicked')}>Button in Fragment</Button>
    </>
  );
};

Before: Screen Shot 2020-06-09 at 4 37 23 PM

After: Screen Shot 2020-06-09 at 4 39 28 PM

📦 Published PR as canary version: 1.2.38-canary.106.1391.0
:sparkles: Test out this PR locally via: ```sh npm install storybook-addon-react-docgen@1.2.38-canary.106.1391.0 # or yarn add storybook-addon-react-docgen@1.2.38-canary.106.1391.0 ```