-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature/tabpanel #171
Feature/tabpanel #171
Conversation
fair play @daniele-zurico i'll take a second look and will update the PR |
The simple usage has been updated to be: <TabGroup
activeTabClassName="tab-list-active"
>
<Tab label="Tab 1">This is content for tab 1</Tab>
<Tab label="Tab 2">This is content for tab 2</Tab>
<Tab label="Tab 3">This is content for tab 3</Tab>
<Tab label="Tab 4">This is content for tab 4</Tab>
</TabGroup> |
Hey @Ibabalola let's go with this implementation ... the only addition is the following one: <TabGroup>
<Tab label="Tab 1" customLabel={}>This is content for tab 1</Tab>
<Tab label="Tab 2" customLabel={}>This is content for tab 2</Tab>
<Tab label="Tab 3" customLabel={}>This is content for tab 3</Tab>
<Tab label="Tab 4" customLabel={}>This is content for tab 4</Tab>
</TabGroup> CustomLabel will allow to specify a custom header like |
@daniele-zurico added the ability for custom labels within
|
Tab panel is a generic component that should contain 2 sub-components:
The simple usage for this component should be:
Behaviour:
Appearance: