Child element of the <Tabs> component.
It creates a tab where the title of the tab is defined by the label prop and the content of the tab is defined by the children prop.
Usage
import { TabsItem } from 'nr1'Props
REQUIREDnode | Content to show when the tab is selected. |
string | Appends class names to the component.Should be used only for positioning and spacing purposes. |
boolean | If |
REQUIREDstring | Title of the tab. |
object | Inline style for custom styling.It is applied to the tab content. |
string | Adds a Note: You might not see |
REQUIREDany | Unique identifier of the tab.It is used when selecting the active tab. |