@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?
optionalcount?:number
label
label:
string
secondaryCount?
optionalsecondaryCount?:number
value
value:
T
ScopeTabIds
ScopeTabIds =
object
Properties
aria-controls?
optionalaria-controls?:string
id?
optionalid?:string
ScopeTabsProps
ScopeTabsProps<
T> =object
Type Parameters
T
T extends string = string
Properties
activeValue
activeValue:
T
glide?
optionalglide?:boolean
isLoading?
optionalisLoading?:boolean
label?
optionallabel?:string
tabs
tabs:
ScopeTab<T>[]
triggerClassName?
optionaltriggerClassName?:string
triggerIds?
optionaltriggerIds?: (value) =>ScopeTabIds
Parameters
value
T
Returns
wrapBelow?
optionalwrapBelow?:ScopeTabsWrapBreakpoint
ScopeTabsWrapBreakpoint
ScopeTabsWrapBreakpoint =
"sm"|"md"
Functions
ScopeRadios()
ScopeRadios<
T>(props):Element
Type Parameters
T
T extends string
Parameters
props
Returns
Element
ScopeTabs()
ScopeTabs<
T>(props):Element
Type Parameters
T
T extends string
Parameters
props
Returns
Element