Optionalaria-Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Identifies the element that provides an error message for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether the element should receive focus on render.
OptionalchildrenThe children of the component. A function may be provided to alter the children based on component state.
OptionalclassOptionaldefaultWhether the element should be selected (uncontrolled).
OptionaldirOptionalexcludeWhether to exclude the element from the sequential tab order. If true, the element will not be focusable via the keyboard by tabbing. This should be avoided except in rare scenarios where an alternative means of accessing the element or its functionality via the keyboard is available.
OptionalformThe <form> element to associate the input with.
The value of this attribute must be the id of a <form> in the same document.
See MDN.
OptionalhiddenOptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalinputA ref for the HTML input element.
OptionalisWhether the input is disabled.
OptionalisWhether the input can be selected but not changed by the user.
OptionalisWhether the element should be selected (controlled).
OptionallabelThe label of the switch
OptionallangOptionalnameThe name of the input element, used when submitting an HTML form. See MDN.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element loses focus.
OptionalonHandler that is called when the element's selection state changes.
OptionalonNot recommended – use onPress instead. onClick is an alias for onPress
provided for compatibility with other libraries. onPress provides
additional event details for non-mouse interactions.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element receives focus.
OptionalonHandler that is called when the element's focus status changes.
OptionalonOptionalonOptionalonHandler that is called when the hover state changes.
OptionalonHandler that is called when a hover interaction ends.
OptionalonHandler that is called when a hover interaction starts.
OptionalonHandler that is called when a key is pressed.
OptionalonHandler that is called when a key is released.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the press is released over the target.
OptionalonHandler that is called when the press state changes.
OptionalonHandler that is called when a press interaction ends, either over the target or when the pointer leaves the target.
OptionalonHandler that is called when a press interaction starts.
OptionalonHandler that is called when a press is released over the target, regardless of whether it started on the target or not.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalrenderOverrides the default DOM element with a custom render function. This allows rendering existing components with built-in styles and behaviors such as router links, animation libraries, and pre-styled components.
Requirements:
<button> is expected, you cannot render an
<a>).OptionalslotA slot name for the component. Slots allow the component to receive props from a parent
component. An explicit null value indicates that the local props completely override all
props received from a parent.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionalsuppressA React-only flag that suppresses the warning React normally logs when an element's server-rendered content doesn't match the client render during hydration. See React docs.
OptionaltranslateOptionalvalueThe value of the input element, used when submitting an HTML form. See MDN.
Identifies the element (or elements) whose contents or presence are controlled by the current element.