Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"table" property does not do work when added to argTypes #655

Open
el-banna opened this issue Nov 27, 2024 · 2 comments
Open

"table" property does not do work when added to argTypes #655

el-banna opened this issue Nov 27, 2024 · 2 comments

Comments

@el-banna
Copy link

Firstly, I'd like to thank you for the amazing work on this project.

Regarding my issue: I have many args, and I'd like to divide my controls into sections (groups).

So I was checking the documentation of Storybook and found that there is a property called table that can help my in achieving that.
I tried to use it inside my story and it didn't work.

Is there a workaround or an equivalent property?

@dannyhw
Copy link
Member

dannyhw commented Nov 27, 2024

Hey, unfortunately this currently isn't supported. Can you link to the docs where this grouping is explained? I would like to take a look.

Is this the "table.category" option?

@el-banna
Copy link
Author

Apologies for the late reply.

What is shown in this comment is exactly what I am trying to achieve (dividing controls into sections)
storybookjs/storybook#10979 (comment)

This is the link from the storybook docs:
https://storybook.js.org/docs/api/arg-types#table

It should support table.category and table.subcategory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants