Trails Packages
Preparing search index...
@open-pioneer/chakra-snippets
switch
SwitchProps
Interface SwitchProps
interface
SwitchProps
{
inputProps
?:
InputHTMLAttributes
<
HTMLInputElement
>
;
rootRef
?:
RefObject
<
HTMLLabelElement
|
null
>
;
thumbLabel
?:
{
off
:
ReactNode
;
on
:
ReactNode
}
;
trackLabel
?:
{
off
:
ReactNode
;
on
:
ReactNode
}
;
}
Hierarchy
SwitchRootProps
SwitchProps
Index
Properties
input
Props?
root
Ref?
thumb
Label?
track
Label?
Properties
Optional
input
Props
inputProps
?:
InputHTMLAttributes
<
HTMLInputElement
>
Optional
root
Ref
rootRef
?:
RefObject
<
HTMLLabelElement
|
null
>
Optional
thumb
Label
thumbLabel
?:
{
off
:
ReactNode
;
on
:
ReactNode
}
Optional
track
Label
trackLabel
?:
{
off
:
ReactNode
;
on
:
ReactNode
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
input
Props
root
Ref
thumb
Label
track
Label
Trails Packages
Loading...