SwitchProps
the-cdj-ui / types/Switch.types / SwitchProps
Interface: SwitchProps
Defined in: src/types/Switch.types.d.ts:6
Extends
Omit<MuiSwitchProps,"color">
Properties
about?
optionalabout:string
Defined in: node_modules/@types/react/index.d.ts:2935
Inherited from
Omit.about
accessKey?
optionalaccessKey:string
Defined in: node_modules/@types/react/index.d.ts:2908
Inherited from
Omit.accessKey
action?
optionalaction:Ref<ButtonBaseActions>
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:15
A ref for imperative actions.
It currently only supports focusVisible() action.
Inherited from
Omit.action
aria-activedescendant?
optionalaria-activedescendant:string
Defined in: node_modules/@types/react/index.d.ts:2606
Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
Inherited from
Omit.aria-activedescendant
aria-atomic?
optionalaria-atomic:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2608
Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
Inherited from
Omit.aria-atomic
aria-autocomplete?
optionalaria-autocomplete:"none"|"both"|"inline"|"list"
Defined in: node_modules/@types/react/index.d.ts:2613
Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
Inherited from
Omit.aria-autocomplete
aria-braillelabel?
optionalaria-braillelabel:string
Defined in: node_modules/@types/react/index.d.ts:2619
Defines a string value that labels the current element, which is intended to be converted into Braille.
See
aria-label.
Inherited from
Omit.aria-braillelabel
aria-brailleroledescription?
optionalaria-brailleroledescription:string
Defined in: node_modules/@types/react/index.d.ts:2624
Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.
See
aria-roledescription.
Inherited from
Omit.aria-brailleroledescription
aria-busy?
optionalaria-busy:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2625
Inherited from
Omit.aria-busy
aria-checked?
optionalaria-checked:boolean|"mixed"|"false"|"true"
Defined in: node_modules/@types/react/index.d.ts:2630
Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
See
- aria-pressed
- aria-selected.
Inherited from
Omit.aria-checked
aria-colcount?
optionalaria-colcount:number
Defined in: node_modules/@types/react/index.d.ts:2635
Defines the total number of columns in a table, grid, or treegrid.
See
aria-colindex.
Inherited from
Omit.aria-colcount
aria-colindex?
optionalaria-colindex:number
Defined in: node_modules/@types/react/index.d.ts:2640
Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
See
- aria-colcount
- aria-colspan.
Inherited from
Omit.aria-colindex
aria-colindextext?
optionalaria-colindextext:string
Defined in: node_modules/@types/react/index.d.ts:2645
Defines a human readable text alternative of aria-colindex.
See
aria-rowindextext.
Inherited from
Omit.aria-colindextext
aria-colspan?
optionalaria-colspan:number
Defined in: node_modules/@types/react/index.d.ts:2650
Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-colindex
- aria-rowspan.
Inherited from
Omit.aria-colspan
aria-controls?
optionalaria-controls:string
Defined in: node_modules/@types/react/index.d.ts:2655
Identifies the element (or elements) whose contents or presence are controlled by the current element.
See
aria-owns.
Inherited from
Omit.aria-controls
aria-current?
optionalaria-current:boolean|"page"|"time"|"false"|"true"|"step"|"location"|"date"
Defined in: node_modules/@types/react/index.d.ts:2657
Indicates the element that represents the current item within a container or set of related elements.
Inherited from
Omit.aria-current
aria-describedby?
optionalaria-describedby:string
Defined in: node_modules/@types/react/index.d.ts:2662
Identifies the element (or elements) that describes the object.
See
aria-labelledby
Inherited from
Omit.aria-describedby
aria-description?
optionalaria-description:string
Defined in: node_modules/@types/react/index.d.ts:2667
Defines a string value that describes or annotates the current element.
See
related aria-describedby.
Inherited from
Omit.aria-description
aria-details?
optionalaria-details:string
Defined in: node_modules/@types/react/index.d.ts:2672
Identifies the element that provides a detailed, extended description for the object.
See
aria-describedby.
Inherited from
Omit.aria-details
aria-disabled?
optionalaria-disabled:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2677
Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
See
- aria-hidden
- aria-readonly.
Inherited from
Omit.aria-disabled
aria-dropeffect?
optionalaria-dropeffect:"link"|"none"|"copy"|"move"|"execute"|"popup"
Defined in: node_modules/@types/react/index.d.ts:2682
Indicates what functions can be performed when a dragged object is released on the drop target.
Deprecated
in ARIA 1.1
Inherited from
Omit.aria-dropeffect
aria-errormessage?
optionalaria-errormessage:string
Defined in: node_modules/@types/react/index.d.ts:2687
Identifies the element that provides an error message for the object.
See
- aria-invalid
- aria-describedby.
Inherited from
Omit.aria-errormessage
aria-expanded?
optionalaria-expanded:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2689
Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
Inherited from
Omit.aria-expanded
aria-flowto?
optionalaria-flowto:string
Defined in: node_modules/@types/react/index.d.ts:2694
Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order.
Inherited from
Omit.aria-flowto
aria-grabbed?
optionalaria-grabbed:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2699
Indicates an element's "grabbed" state in a drag-and-drop operation.
Deprecated
in ARIA 1.1
Inherited from
Omit.aria-grabbed
aria-haspopup?
optionalaria-haspopup:boolean|"grid"|"dialog"|"menu"|"listbox"|"false"|"true"|"tree"
Defined in: node_modules/@types/react/index.d.ts:2701
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Inherited from
Omit.aria-haspopup
aria-hidden?
optionalaria-hidden:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2706
Indicates whether the element is exposed to an accessibility API.
See
aria-disabled.
Inherited from
Omit.aria-hidden
aria-invalid?
optionalaria-invalid:boolean|"false"|"true"|"grammar"|"spelling"
Defined in: node_modules/@types/react/index.d.ts:2711
Indicates the entered value does not conform to the format expected by the application.
See
aria-errormessage.
Inherited from
Omit.aria-invalid
aria-keyshortcuts?
optionalaria-keyshortcuts:string
Defined in: node_modules/@types/react/index.d.ts:2713
Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
Inherited from
Omit.aria-keyshortcuts
aria-label?
optionalaria-label:string
Defined in: node_modules/@types/react/index.d.ts:2718
Defines a string value that labels the current element.
See
aria-labelledby.
Inherited from
Omit.aria-label
aria-labelledby?
optionalaria-labelledby:string
Defined in: node_modules/@types/react/index.d.ts:2723
Identifies the element (or elements) that labels the current element.
See
aria-describedby.
Inherited from
Omit.aria-labelledby
aria-level?
optionalaria-level:number
Defined in: node_modules/@types/react/index.d.ts:2725
Defines the hierarchical level of an element within a structure.
Inherited from
Omit.aria-level
aria-live?
optionalaria-live:"off"|"assertive"|"polite"
Defined in: node_modules/@types/react/index.d.ts:2727
Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
Inherited from
Omit.aria-live
aria-modal?
optionalaria-modal:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2729
Indicates whether an element is modal when displayed.
Inherited from
Omit.aria-modal
aria-multiline?
optionalaria-multiline:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2731
Indicates whether a text box accepts multiple lines of input or only a single line.
Inherited from
Omit.aria-multiline
aria-multiselectable?
optionalaria-multiselectable:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2733
Indicates that the user may select more than one item from the current selectable descendants.
Inherited from
Omit.aria-multiselectable
aria-orientation?
optionalaria-orientation:"horizontal"|"vertical"
Defined in: node_modules/@types/react/index.d.ts:2735
Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
Inherited from
Omit.aria-orientation
aria-owns?
optionalaria-owns:string
Defined in: node_modules/@types/react/index.d.ts:2741
Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
See
aria-controls.
Inherited from
Omit.aria-owns
aria-placeholder?
optionalaria-placeholder:string
Defined in: node_modules/@types/react/index.d.ts:2746
Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Inherited from
Omit.aria-placeholder
aria-posinset?
optionalaria-posinset:number
Defined in: node_modules/@types/react/index.d.ts:2751
Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-setsize.
Inherited from
Omit.aria-posinset
aria-pressed?
optionalaria-pressed:boolean|"mixed"|"false"|"true"
Defined in: node_modules/@types/react/index.d.ts:2756
Indicates the current "pressed" state of toggle buttons.
See
- aria-checked
- aria-selected.
Inherited from
Omit.aria-pressed
aria-readonly?
optionalaria-readonly:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2761
Indicates that the element is not editable, but is otherwise operable.
See
aria-disabled.
Inherited from
Omit.aria-readonly
aria-relevant?
optionalaria-relevant:"text"|"all"|"additions"|"additions removals"|"additions text"|"removals"|"removals additions"|"removals text"|"text additions"|"text removals"
Defined in: node_modules/@types/react/index.d.ts:2766
Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
See
aria-atomic.
Inherited from
Omit.aria-relevant
aria-required?
optionalaria-required:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2779
Indicates that user input is required on the element before a form may be submitted.
Inherited from
Omit.aria-required
aria-roledescription?
optionalaria-roledescription:string
Defined in: node_modules/@types/react/index.d.ts:2781
Defines a human-readable, author-localized description for the role of an element.
Inherited from
Omit.aria-roledescription
aria-rowcount?
optionalaria-rowcount:number
Defined in: node_modules/@types/react/index.d.ts:2786
Defines the total number of rows in a table, grid, or treegrid.
See
aria-rowindex.
Inherited from
Omit.aria-rowcount
aria-rowindex?
optionalaria-rowindex:number
Defined in: node_modules/@types/react/index.d.ts:2791
Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
See
- aria-rowcount
- aria-rowspan.
Inherited from
Omit.aria-rowindex
aria-rowindextext?
optionalaria-rowindextext:string
Defined in: node_modules/@types/react/index.d.ts:2796
Defines a human readable text alternative of aria-rowindex.
See
aria-colindextext.
Inherited from
Omit.aria-rowindextext
aria-rowspan?
optionalaria-rowspan:number
Defined in: node_modules/@types/react/index.d.ts:2801
Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
See
- aria-rowindex
- aria-colspan.
Inherited from
Omit.aria-rowspan
aria-selected?
optionalaria-selected:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2806
Indicates the current "selected" state of various widgets.
See
- aria-checked
- aria-pressed.
Inherited from
Omit.aria-selected
aria-setsize?
optionalaria-setsize:number
Defined in: node_modules/@types/react/index.d.ts:2811
Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
See
aria-posinset.
Inherited from
Omit.aria-setsize
aria-sort?
optionalaria-sort:"none"|"ascending"|"descending"|"other"
Defined in: node_modules/@types/react/index.d.ts:2813
Indicates if items in a table or grid are sorted in ascending or descending order.
Inherited from
Omit.aria-sort
aria-valuemax?
optionalaria-valuemax:number
Defined in: node_modules/@types/react/index.d.ts:2815
Defines the maximum allowed value for a range widget.
Inherited from
Omit.aria-valuemax
aria-valuemin?
optionalaria-valuemin:number
Defined in: node_modules/@types/react/index.d.ts:2817
Defines the minimum allowed value for a range widget.
Inherited from
Omit.aria-valuemin
aria-valuenow?
optionalaria-valuenow:number
Defined in: node_modules/@types/react/index.d.ts:2822
Defines the current value for a range widget.
See
aria-valuetext.
Inherited from
Omit.aria-valuenow
aria-valuetext?
optionalaria-valuetext:string
Defined in: node_modules/@types/react/index.d.ts:2824
Defines the human readable text alternative of aria-valuenow for a range widget.
Inherited from
Omit.aria-valuetext
ariaLabel?
optionalariaLabel:string
Defined in: src/types/Switch.types.d.ts:21
autoCapitalize?
optionalautoCapitalize:string&object|"none"|"off"|"on"|"sentences"|"words"|"characters"
Defined in: node_modules/@types/react/index.d.ts:2909
Inherited from
Omit.autoCapitalize
autoCorrect?
optionalautoCorrect:string
Defined in: node_modules/@types/react/index.d.ts:2948
Inherited from
Omit.autoCorrect
autoFocus?
optionalautoFocus:boolean
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:8
Inherited from
Omit.autoFocus
autoSave?
optionalautoSave:string
Defined in: node_modules/@types/react/index.d.ts:2949
Inherited from
Omit.autoSave
centerRipple?
optionalcenterRipple:boolean
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:21
If true, the ripples are centered.
They won't start at the cursor interaction position.
Default
false
Inherited from
Omit.centerRipple
checked?
optionalchecked:boolean
Defined in: src/types/Switch.types.d.ts:7
If true, the component is checked.
Overrides
Omit.checked
checkedIcon?
optionalcheckedIcon:ReactNode
Defined in: node_modules/@mui/material/Switch/Switch.d.ts:17
The icon to display when the component is checked.
Inherited from
Omit.checkedIcon
classes?
optionalclasses:Partial<SwitchClasses>
Defined in: node_modules/@mui/material/Switch/Switch.d.ts:21
Override or extend the styles applied to the component.
Inherited from
Omit.classes
className?
optionalclassName:string
Defined in: node_modules/@mui/material/OverridableComponent.d.ts:60
Inherited from
Omit.className
color?
optionalcolor:"default"|"primary"|"secondary"|"error"|"success"|"info"|"warning"
Defined in: src/types/Switch.types.d.ts:8
component?
optionalcomponent:ElementType<any, keyof IntrinsicElements>
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:132
Inherited from
Omit.component
content?
optionalcontent:string
Defined in: node_modules/@types/react/index.d.ts:2936
Inherited from
Omit.content
contentEditable?
optionalcontentEditable:"inherit"|Booleanish|"plaintext-only"
Defined in: node_modules/@types/react/index.d.ts:2912
Inherited from
Omit.contentEditable
contextMenu?
optionalcontextMenu:string
Defined in: node_modules/@types/react/index.d.ts:2913
Inherited from
Omit.contextMenu
dangerouslySetInnerHTML?
optionaldangerouslySetInnerHTML:object
Defined in: node_modules/@types/react/index.d.ts:2393
__html
__html:
string|TrustedHTML
Inherited from
Omit.dangerouslySetInnerHTML
datatype?
optionaldatatype:string
Defined in: node_modules/@types/react/index.d.ts:2937
Inherited from
Omit.datatype
defaultChecked?
optionaldefaultChecked:boolean
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:21
The default checked state. Use when the component is not controlled.
Inherited from
Omit.defaultChecked
defaultValue?
optionaldefaultValue:string|number| readonlystring[]
Defined in: node_modules/@types/react/index.d.ts:2903
Inherited from
Omit.defaultValue
dir?
optionaldir:string
Defined in: node_modules/@types/react/index.d.ts:2914
Inherited from
Omit.dir
disabled?
optionaldisabled:boolean
Defined in: src/types/Switch.types.d.ts:16
If true, the component is disabled.
Overrides
Omit.disabled
disableFocusRipple?
optionaldisableFocusRipple:boolean
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:35
If true, the keyboard focus ripple is disabled.
Default
false
Inherited from
Omit.disableFocusRipple
disableRipple?
optionaldisableRipple:boolean
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:30
If true, the ripple effect is disabled.
Default
false
Inherited from
Omit.disableRipple
disableTouchRipple?
optionaldisableTouchRipple:boolean
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:47
If true, the touch ripple effect is disabled.
Default
false
Inherited from
Omit.disableTouchRipple
draggable?
optionaldraggable:Booleanish
Defined in: node_modules/@types/react/index.d.ts:2915
Inherited from
Omit.draggable
edge?
optionaledge:false|"end"|"start"
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:43
If given, uses a negative margin to counteract the padding on one side (this is often helpful for aligning the left or right side of the icon with content above or below, without ruining the border size and shape).
Default
false
Inherited from
Omit.edge
enterKeyHint?
optionalenterKeyHint:"search"|"next"|"enter"|"done"|"go"|"previous"|"send"
Defined in: node_modules/@types/react/index.d.ts:2916
Inherited from
Omit.enterKeyHint
focusRipple?
optionalfocusRipple:boolean
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:52
If true, the base button will have a keyboard focus ripple.
Default
false
Inherited from
Omit.focusRipple
focusVisibleClassName?
optionalfocusVisibleClassName:string
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:61
This prop can help identify which element has keyboard focus.
The class name will be applied when the element gains the focus through keyboard interaction.
It's a polyfill for the CSS :focus-visible selector.
The rationale for using this feature is explained here.
A polyfill can be used to apply a focus-visible class to other components
if needed.
Inherited from
Omit.focusVisibleClassName
form?
optionalform:string
Defined in: node_modules/@types/react/index.d.ts:3150
Inherited from
Omit.form
formAction?
optionalformAction:string| (formData) =>void|Promise<void>
Defined in: node_modules/@types/react/index.d.ts:3151
Inherited from
Omit.formAction
formEncType?
optionalformEncType:string
Defined in: node_modules/@types/react/index.d.ts:3157
Inherited from
Omit.formEncType
formMethod?
optionalformMethod:string
Defined in: node_modules/@types/react/index.d.ts:3158
Inherited from
Omit.formMethod
formNoValidate?
optionalformNoValidate:boolean
Defined in: node_modules/@types/react/index.d.ts:3159
Inherited from
Omit.formNoValidate
formTarget?
optionalformTarget:string
Defined in: node_modules/@types/react/index.d.ts:3160
Inherited from
Omit.formTarget
hidden?
optionalhidden:boolean
Defined in: node_modules/@types/react/index.d.ts:2917
Inherited from
Omit.hidden
icon?
optionalicon:ReactNode
Defined in: node_modules/@mui/material/Switch/Switch.d.ts:39
The icon to display when the component is unchecked.
Inherited from
Omit.icon
id?
optionalid:string
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:48
The id of the input element.
Inherited from
Omit.id
inert?
optionalinert:boolean
Defined in: node_modules/@types/react/experimental.d.ts:130
See
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/inert
Inherited from
Omit.inert
inlist?
optionalinlist:any
Defined in: node_modules/@types/react/index.d.ts:2938
Inherited from
Omit.inlist
inputMode?
optionalinputMode:"email"|"text"|"search"|"none"|"tel"|"url"|"numeric"|"decimal"
Defined in: node_modules/@types/react/index.d.ts:2965
Hints at the type of data that might be entered by the user while editing the element or its contents
See
https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute
Inherited from
Omit.inputMode
inputProps?
optionalinputProps:InputHTMLAttributes<HTMLInputElement>
Defined in: src/types/Switch.types.d.ts:23
Attributes applied to the input element.
Overrides
Omit.inputProps
inputRef?
optionalinputRef:Ref<any>
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:56
Pass a ref to the input element.
Inherited from
Omit.inputRef
is?
optionalis:string
Defined in: node_modules/@types/react/index.d.ts:2970
Specify that a standard HTML element should behave like a defined custom built-in element
See
https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is
Inherited from
Omit.is
itemID?
optionalitemID:string
Defined in: node_modules/@types/react/index.d.ts:2954
Inherited from
Omit.itemID
itemProp?
optionalitemProp:string
Defined in: node_modules/@types/react/index.d.ts:2951
Inherited from
Omit.itemProp
itemRef?
optionalitemRef:string
Defined in: node_modules/@types/react/index.d.ts:2955
Inherited from
Omit.itemRef
itemScope?
optionalitemScope:boolean
Defined in: node_modules/@types/react/index.d.ts:2952
Inherited from
Omit.itemScope
itemType?
optionalitemType:string
Defined in: node_modules/@types/react/index.d.ts:2953
Inherited from
Omit.itemType
key?
optionalkey:null|Key
Defined in: node_modules/@types/react/index.d.ts:261
Inherited from
Omit.key
lang?
optionallang:string
Defined in: node_modules/@types/react/index.d.ts:2919
Inherited from
Omit.lang
LinkComponent?
optionalLinkComponent:ElementType<any, keyof IntrinsicElements>
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:66
The component used to render a link when the href prop is provided.
Default
'a'
Inherited from
Omit.LinkComponent
name?
optionalname:string
Defined in: node_modules/@mui/material/internal/SwitchBase.d.ts:60
Name attribute of the input element.
Inherited from
Omit.name
nonce?
optionalnonce:string
Defined in: node_modules/@types/react/index.d.ts:2920
Inherited from
Omit.nonce
onAbort?
optionalonAbort:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2452
Inherited from
Omit.onAbort
onAbortCapture?
optionalonAbortCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2453
Inherited from
Omit.onAbortCapture
onAnimationEnd?
optionalonAnimationEnd:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2582
Inherited from
Omit.onAnimationEnd
onAnimationEndCapture?
optionalonAnimationEndCapture:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2583
Inherited from
Omit.onAnimationEndCapture
onAnimationIteration?
optionalonAnimationIteration:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2584
Inherited from
Omit.onAnimationIteration
onAnimationIterationCapture?
optionalonAnimationIterationCapture:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2585
Inherited from
Omit.onAnimationIterationCapture
onAnimationStart?
optionalonAnimationStart:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2580
Inherited from
Omit.onAnimationStart
onAnimationStartCapture?
optionalonAnimationStartCapture:AnimationEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2581
Inherited from
Omit.onAnimationStartCapture
onAuxClick?
optionalonAuxClick:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2500
Inherited from
Omit.onAuxClick
onAuxClickCapture?
optionalonAuxClickCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2501
Inherited from
Omit.onAuxClickCapture
onBeforeInput?
optionalonBeforeInput:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2424
Inherited from
Omit.onBeforeInput
onBeforeInputCapture?
optionalonBeforeInputCapture:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2425
Inherited from
Omit.onBeforeInputCapture
onBeforeToggle?
optionalonBeforeToggle:ToggleEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/canary.d.ts:131
Inherited from
Omit.onBeforeToggle
onBlur?
optionalonBlur:FocusEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2418
Inherited from
Omit.onBlur
onBlurCapture?
optionalonBlurCapture:FocusEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2419
Inherited from
Omit.onBlurCapture
onCanPlay?
optionalonCanPlay:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2454
Inherited from
Omit.onCanPlay
onCanPlayCapture?
optionalonCanPlayCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2455
Inherited from
Omit.onCanPlayCapture
onCanPlayThrough?
optionalonCanPlayThrough:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2456
Inherited from
Omit.onCanPlayThrough
onCanPlayThroughCapture?
optionalonCanPlayThroughCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2457
Inherited from
Omit.onCanPlayThroughCapture
onChange()?
optionalonChange: (event,checked) =>void
Defined in: src/types/Switch.types.d.ts:17
Callback fired when the state is changed.
Parameters
event
ChangeEvent<HTMLInputElement>
The event source of the callback.
You can pull out the new value by accessing event.target.value (string).
You can pull out the new checked state by accessing event.target.checked (boolean).
checked
boolean
Returns
void
Overrides
Omit.onChange
onChangeCapture?
optionalonChangeCapture:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2423
Inherited from
Omit.onChangeCapture
onClick?
optionalonClick:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2502
Inherited from
Omit.onClick
onClickCapture?
optionalonClickCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2503
Inherited from
Omit.onClickCapture
onCompositionEnd?
optionalonCompositionEnd:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2408
Inherited from
Omit.onCompositionEnd
onCompositionEndCapture?
optionalonCompositionEndCapture:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2409
Inherited from
Omit.onCompositionEndCapture
onCompositionStart?
optionalonCompositionStart:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2410
Inherited from
Omit.onCompositionStart
onCompositionStartCapture?
optionalonCompositionStartCapture:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2411
Inherited from
Omit.onCompositionStartCapture
onCompositionUpdate?
optionalonCompositionUpdate:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2412
Inherited from
Omit.onCompositionUpdate
onCompositionUpdateCapture?
optionalonCompositionUpdateCapture:CompositionEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2413
Inherited from
Omit.onCompositionUpdateCapture
onContextMenu?
optionalonContextMenu:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2504
Inherited from
Omit.onContextMenu
onContextMenuCapture?
optionalonContextMenuCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2505
Inherited from
Omit.onContextMenuCapture
onCopy?
optionalonCopy:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2400
Inherited from
Omit.onCopy
onCopyCapture?
optionalonCopyCapture:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2401
Inherited from
Omit.onCopyCapture
onCut?
optionalonCut:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2402
Inherited from
Omit.onCut
onCutCapture?
optionalonCutCapture:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2403
Inherited from
Omit.onCutCapture
onDoubleClick?
optionalonDoubleClick:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2506
Inherited from
Omit.onDoubleClick
onDoubleClickCapture?
optionalonDoubleClickCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2507
Inherited from
Omit.onDoubleClickCapture
onDrag?
optionalonDrag:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2508
Inherited from
Omit.onDrag
onDragCapture?
optionalonDragCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2509
Inherited from
Omit.onDragCapture
onDragEnd?
optionalonDragEnd:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2510
Inherited from
Omit.onDragEnd
onDragEndCapture?
optionalonDragEndCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2511
Inherited from
Omit.onDragEndCapture
onDragEnter?
optionalonDragEnter:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2512
Inherited from
Omit.onDragEnter
onDragEnterCapture?
optionalonDragEnterCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2513
Inherited from
Omit.onDragEnterCapture
onDragExit?
optionalonDragExit:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2514
Inherited from
Omit.onDragExit
onDragExitCapture?
optionalonDragExitCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2515
Inherited from
Omit.onDragExitCapture
onDragLeave?
optionalonDragLeave:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2516
Inherited from
Omit.onDragLeave
onDragLeaveCapture?
optionalonDragLeaveCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2517
Inherited from
Omit.onDragLeaveCapture
onDragOver?
optionalonDragOver:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2518
Inherited from
Omit.onDragOver
onDragOverCapture?
optionalonDragOverCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2519
Inherited from
Omit.onDragOverCapture
onDragStart?
optionalonDragStart:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2520
Inherited from
Omit.onDragStart
onDragStartCapture?
optionalonDragStartCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2521
Inherited from
Omit.onDragStartCapture
onDrop?
optionalonDrop:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2522
Inherited from
Omit.onDrop
onDropCapture?
optionalonDropCapture:DragEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2523
Inherited from
Omit.onDropCapture
onDurationChange?
optionalonDurationChange:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2458
Inherited from
Omit.onDurationChange
onDurationChangeCapture?
optionalonDurationChangeCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2459
Inherited from
Omit.onDurationChangeCapture
onEmptied?
optionalonEmptied:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2460
Inherited from
Omit.onEmptied
onEmptiedCapture?
optionalonEmptiedCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2461
Inherited from
Omit.onEmptiedCapture
onEncrypted?
optionalonEncrypted:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2462
Inherited from
Omit.onEncrypted
onEncryptedCapture?
optionalonEncryptedCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2463
Inherited from
Omit.onEncryptedCapture
onEnded?
optionalonEnded:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2464
Inherited from
Omit.onEnded
onEndedCapture?
optionalonEndedCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2465
Inherited from
Omit.onEndedCapture
onError?
optionalonError:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2438
Inherited from
Omit.onError
onErrorCapture?
optionalonErrorCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2439
Inherited from
Omit.onErrorCapture
onFocus?
optionalonFocus:FocusEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2416
Inherited from
Omit.onFocus
onFocusCapture?
optionalonFocusCapture:FocusEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2417
Inherited from
Omit.onFocusCapture
onFocusVisible?
optionalonFocusVisible:FocusEventHandler<any>
Defined in: node_modules/@mui/material/ButtonBase/ButtonBase.d.ts:71
Callback fired when the component is focused with a keyboard.
We trigger a onFocus callback too.
Inherited from
Omit.onFocusVisible
onGotPointerCapture?
optionalonGotPointerCapture:PointerEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2566
Inherited from
Omit.onGotPointerCapture
onGotPointerCaptureCapture?
optionalonGotPointerCaptureCapture:PointerEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2567
Inherited from
Omit.onGotPointerCaptureCapture
onInput?
optionalonInput:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2426
Inherited from
Omit.onInput
onInputCapture?
optionalonInputCapture:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2427
Inherited from
Omit.onInputCapture
onInvalid?
optionalonInvalid:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2432
Inherited from
Omit.onInvalid
onInvalidCapture?
optionalonInvalidCapture:FormEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2433
Inherited from
Omit.onInvalidCapture
onKeyDown?
optionalonKeyDown:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2442
Inherited from
Omit.onKeyDown
onKeyDownCapture?
optionalonKeyDownCapture:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2443
Inherited from
Omit.onKeyDownCapture
onKeyPress?
optionalonKeyPress:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2445
Deprecated
Use onKeyUp or onKeyDown instead
Inherited from
Omit.onKeyPress
onKeyPressCapture?
optionalonKeyPressCapture:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2447
Deprecated
Use onKeyUpCapture or onKeyDownCapture instead
Inherited from
Omit.onKeyPressCapture
onKeyUp?
optionalonKeyUp:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2448
Inherited from
Omit.onKeyUp
onKeyUpCapture?
optionalonKeyUpCapture:KeyboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2449
Inherited from
Omit.onKeyUpCapture
onLoad?
optionalonLoad:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2436
Inherited from
Omit.onLoad
onLoadCapture?
optionalonLoadCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2437
Inherited from
Omit.onLoadCapture
onLoadedData?
optionalonLoadedData:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2466
Inherited from
Omit.onLoadedData
onLoadedDataCapture?
optionalonLoadedDataCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2467
Inherited from
Omit.onLoadedDataCapture
onLoadedMetadata?
optionalonLoadedMetadata:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2468
Inherited from
Omit.onLoadedMetadata
onLoadedMetadataCapture?
optionalonLoadedMetadataCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2469
Inherited from
Omit.onLoadedMetadataCapture
onLoadStart?
optionalonLoadStart:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2470
Inherited from
Omit.onLoadStart
onLoadStartCapture?
optionalonLoadStartCapture:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2471
Inherited from
Omit.onLoadStartCapture
onLostPointerCapture?
optionalonLostPointerCapture:PointerEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2568
Inherited from
Omit.onLostPointerCapture
onLostPointerCaptureCapture?
optionalonLostPointerCaptureCapture:PointerEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2569
Inherited from
Omit.onLostPointerCaptureCapture
onMouseDown?
optionalonMouseDown:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2524
Inherited from
Omit.onMouseDown
onMouseDownCapture?
optionalonMouseDownCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2525
Inherited from
Omit.onMouseDownCapture
onMouseEnter?
optionalonMouseEnter:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2526
Inherited from
Omit.onMouseEnter
onMouseLeave?
optionalonMouseLeave:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2527
Inherited from
Omit.onMouseLeave
onMouseMove?
optionalonMouseMove:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2528
Inherited from
Omit.onMouseMove
onMouseMoveCapture?
optionalonMouseMoveCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2529
Inherited from
Omit.onMouseMoveCapture
onMouseOut?
optionalonMouseOut:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2530
Inherited from
Omit.onMouseOut
onMouseOutCapture?
optionalonMouseOutCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2531
Inherited from
Omit.onMouseOutCapture
onMouseOver?
optionalonMouseOver:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2532
Inherited from
Omit.onMouseOver
onMouseOverCapture?
optionalonMouseOverCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2533
Inherited from
Omit.onMouseOverCapture
onMouseUp?
optionalonMouseUp:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2534
Inherited from
Omit.onMouseUp
onMouseUpCapture?
optionalonMouseUpCapture:MouseEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2535
Inherited from
Omit.onMouseUpCapture
onPaste?
optionalonPaste:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2404
Inherited from
Omit.onPaste
onPasteCapture?
optionalonPasteCapture:ClipboardEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2405
Inherited from
Omit.onPasteCapture
onPause?
optionalonPause:ReactEventHandler<HTMLButtonElement>
Defined in: node_modules/@types/react/index.d.ts:2472
Inherited from
Omit.onPause