design-system icon indicating copy to clipboard operation
design-system copied to clipboard

[bug]: Tabs incorrect documentation

Open Xaz16 opened this issue 4 months ago • 0 comments

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 avatar Oct 18 '24 14:10 Xaz16