Skip to content

Create tabs dynamically #3

@jpcmf

Description

@jpcmf

Hello. I'm trying to use your component, but I didn't figure out how to create tabs dynamically.

My scenario is: I'm trying to create a newOptions obj inside an useEffect and then I use an useState to save this newOptions obj. When I try to pass the state inside the useDynTabs hook, the tabs don't apear.

What I'm doing wrong here? Any tips?

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions