Manta Developers
GitHub
Menu

@manta-eu/react/scope-tabs

Reference for @manta-eu/react/scope-tabs as it is on main.

Type Aliases

ScopeRadiosProps

ScopeRadiosProps<T> = Omit<ScopeTabsProps<T>, "triggerIds"> & object

Type Parameters

T

T extends string = string

Type Declaration

onValueChange

onValueChange: (value) => void

Parameters
value

T

Returns

void


ScopeTab

ScopeTab<T> = object

Type Parameters

T

T extends string = string

Properties

count?

optional count?: number

label

label: string

secondaryCount?

optional secondaryCount?: number

value

value: T


ScopeTabIds

ScopeTabIds = object

Properties

aria-controls?

optional aria-controls?: string

id?

optional id?: string


ScopeTabsProps

ScopeTabsProps<T> = object

Type Parameters

T

T extends string = string

Properties

activeValue

activeValue: T

glide?

optional glide?: boolean

isLoading?

optional isLoading?: boolean

label?

optional label?: string

tabs

tabs: ScopeTab<T>[]

triggerClassName?

optional triggerClassName?: string

triggerIds?

optional triggerIds?: (value) => ScopeTabIds

Parameters
value

T

Returns

ScopeTabIds

wrapBelow?

optional wrapBelow?: ScopeTabsWrapBreakpoint


ScopeTabsWrapBreakpoint

ScopeTabsWrapBreakpoint = "sm" | "md"

Functions

ScopeRadios()

ScopeRadios<T>(props): Element

Type Parameters

T

T extends string

Parameters

props

ScopeRadiosProps<T>

Returns

Element


ScopeTabs()

ScopeTabs<T>(props): Element

Type Parameters

T

T extends string

Parameters

props

ScopeTabsProps<T>

Returns

Element