Skip to content

Adding content to each tab from TabBox #14

Description

@felipeboffnunes

On the example given on the sourcem there is no connection between the text which was to display and the tabs. I don't know exactly how to add content to each tab from TabBox.

dac.TabItem(id='content_tab_cards', 
                                            
                    children=[
                    
                        html.Div(
                            [ 
                                dac.TabBox(
                                    [
                                        dac.TabBoxHeader(
                                            dac.TabBoxMenu(
                                                [
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab1',
                                                                    label='Tab 1'),
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab2',
                                                                    label='Tab 2'),
                                                    dac.TabBoxMenuItem(tab_id='tab_box_1_tab3',
                                                                    label='Tab 3') 
                                                ],
                                                id='tab_box_1_menu'
                                            ),
                                            collapsible = True,
                                            title="Categories"
                                        ),
                                        dac.TabBoxBody(
                                            id='tab_box_1'
                                        )		
                                    ],
                                    width=12,
                                    elevation=2
                                ),
                            ], 
                            className='row'
                        )
                            
                    ]
                )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions