TabsOwnProps

Types

Link copied to clipboard
interface SlotProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract override var className: ClassName?
Link copied to clipboard
abstract var defaultValue: Any?

The default value. Use when the component is not controlled.

Link copied to clipboard
abstract var direction: Direction?

The direction of the text.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard
abstract var onChange: (event: SyntheticEvent<*, *>?, value: Any?) -> Unit?

Callback invoked when new value is being set.

Link copied to clipboard
abstract var orientation: dynamic

The component orientation (layout flow direction).

Link copied to clipboard

If true the selected tab changes on focus. Otherwise it only changes on activation.

Link copied to clipboard

The props used for each slot inside the Tabs.

Link copied to clipboard
abstract var slots: TabsSlots?

The components used for each slot inside the Tabs. Either a string to use a HTML element or a component.

Link copied to clipboard
abstract var value: Any?

The value of the currently selected Tab. If you don't want any selected Tab, you can set this prop to null.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()