storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.64k stars 9.31k forks source link

New Docs Tab that will be enabled for displaying API of components only. #12660

Open Kathuria opened 4 years ago

Kathuria commented 4 years ago

Is your feature request related to a problem? Please describe Displaying argsTable for props of component I want to display API tab adjacent to component stories. Currently, I am separately displaying API linked to Docs but it displays in left navigation. I want to hide from left navigation but still want to keep API links. So better alternative will be adding tab of API that can display all props.

Its related to Addon-docs: Multiple Tab #8951

Describe the solution you'd like Create new docs tab adjacent to default Docs named API. So tabs can be Canvas, Docs, API. From this we can resolve all stories detail like Demo in Canvas, Documentation in Docs and argsTable in API.

Describe alternatives you've considered I am using Links addon, I am adding link to API story and vice-versa for docs story. But problem is, its get listed in left navigation although I can reorder.

Are you able to assist to bring the feature to reality? No, But I can try with your support.

Additional context A good example of that: https://microsoft.github.io/fluent-ui-react/components/accordion/definition

stale[bot] commented 3 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!