TabItem
Документация в разработке.
Использование
Состояния
API
| Проп | Тип | По умолчанию | Описание |
|---|---|---|---|
value* | string | — | — |
text* | ReactNode | — | — |
textValue | string | — | Required for non-text labels in the overflow menu and close button. |
start | ReactNode | — | — |
counter | ReactNode | — | — |
indicator | boolean | | — |
infoIcon | ReactNode | — | Noninteractive supplementary icon/content. |
closable | boolean | | — |
onClose | (event: MouseEvent<HTMLButtonElement, MouseEvent>) => void | — | The owner removes the item; preventDefault cancels the close request. |
closeLabel | string | — | — |
selected | boolean | | Standalone visual selection only; List derives selection from Tabs.value. |
Last updated on