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

[bug]: Tabs incorrect documentation #1800

Open
Xaz16 opened this issue Oct 18, 2024 · 1 comment
Open

[bug]: Tabs incorrect documentation #1800

Xaz16 opened this issue Oct 18, 2024 · 1 comment
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information

Comments

@Xaz16
Copy link

Xaz16 commented Oct 18, 2024

What version of design-system are you using?

1.19.0

What's Wrong?

I'm developing a plugin for admin part and tried to use Tabs component from design system as is from storybook documentation:
https://design-system.strapi.io/?path=/docs/components-tabs--docs. And I have no success, because my app is crashing with a message that my compnent is broken. And it is broken because from docs we are tring to use something like this:

<Tabs.Root disabled="expert" defaultValue={modes[0]}>
        <Tabs.List aria-label="Manage your lists">

But that export: import { Tabs } from "@strapi/design-system"; have no any List and Root inside

To Reproduce

Just copy example from here https://design-system.strapi.io/?path=/docs/components-tabs--docs and try to use it...

Expected Behaviour

At least I want to understand how to use Tabs component from design system properly

@Xaz16 Xaz16 added issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information labels Oct 18, 2024
@Xaz16 Xaz16 changed the title [bug]: incorrect documentation [bug]: Tabs incorrect documentation Oct 21, 2024
@raphi-0901
Copy link

Same issue here! Some updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
None yet
Development

No branches or pull requests

2 participants