tabs
v4.9.10arrow_drop_downName | Type | Description |
---|---|---|
onChange (required) | function | |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
color (required) | 'primary' | 'secondary' | The color of the tab indicator. |
orientation (required) | 'horizontal' | 'vertical' | The tabs orientation (layout flow direction). |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
direction (required) | 'left' | 'right' | Which direction should the button indicate? |
orientation (required) | 'horizontal' | 'vertical' | The tabs orientation (layout flow direction). |
visible (required) | bool | Should the button be present or just consume space. |
action | custom | This object contains all possible actions that can be triggered programmatically. |
centered | bool | If |
children | node | The content of the component. |
classes (required) | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
component | elementType | The component used for the root node. Either a string to use a DOM element or a component. |
indicatorColor | 'secondary' | 'primary' | Determines the color of the indicator. |
onChange | function | The event source of the callback |
orientation | 'horizontal' | 'vertical' | The tabs orientation (layout flow direction). |
ScrollButtonComponent | elementType | The component used to render the scroll buttons. |
scrollButtons | 'auto' | 'desktop' | 'on' | 'off' | Determine behavior of scroll buttons when tabs are set to scroll:
|
TabIndicatorProps | object | Props applied to the tab indicator element. |
textColor | 'secondary' | 'primary' | 'inherit' | Determines the color of the |
value | any | The value of the currently selected |
variant | 'standard' | 'scrollable' | 'fullWidth' | Determines additional display behavior of the tabs:
|