Skip to main content

TabsProps

@lowcode/ui-kit


Interface: TabsProps

Defined in: components/primitives/Tabs.tsx:42

Свойства корневого компонента Tabs.

Extends​

  • HTMLAttributes<HTMLDivElement>

Properties​

defaultValue?​

optional defaultValue: string

Defined in: components/primitives/Tabs.tsx:52

Значение по умолчанию для неконтролируемого режима.

Overrides​

HTMLAttributes.defaultValue


onValueChange()?​

optional onValueChange: (value) => void

Defined in: components/primitives/Tabs.tsx:58

Коллбэк изменения активной вкладки. Вызывается и в controlled, и в uncontrolled режимах.

Parameters​

value​

string

Returns​

void


orientation?​

optional orientation: TabsOrientation

Defined in: components/primitives/Tabs.tsx:65

Ориентация вкладок.

По умолчанию: horizontal.


value?​

optional value: string

Defined in: components/primitives/Tabs.tsx:47

Контролируемое активное значение. Если задано — компонент становится controlled.