Skip to content

[bug]: Tabs incorrect documentation #1800

Closed
@Xaz16

Description

@Xaz16

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugstatus: pending reproductionWaiting for free time to reproduce the issue, or more information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions