You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Input status - use to display an status indication for the user. for example: 'error', 'warning' or 'loading' */
39
-
status: PropTypes.PropTypes.oneOf([
36
+
status: PropTypes.oneOf([
40
37
Input.StatusError,
41
38
Input.StatusWarning,
42
39
Input.StatusLoading,
43
40
]),
44
41
/** The status (error/loading) message to display when hovering the status icon, if not given or empty there will be no tooltip */
45
-
statusMessage: PropTypes.PropTypes.node,
42
+
statusMessage: PropTypes.node,
46
43
/** Standard input onFocus callback */
47
-
onFocus: PropTypes.PropTypes.func,
44
+
onFocus: PropTypes.func,
48
45
/** Standard input onBlur callback */
49
-
onBlur: PropTypes.PropTypes.func,
46
+
onBlur: PropTypes.func,
50
47
/** Standard input onChange callback */
51
-
onChange: PropTypes.PropTypes.func,
52
-
name: PropTypes.PropTypes.string,
53
-
type: PropTypes.PropTypes.string,
54
-
ariaLabel: PropTypes.PropTypes.string,
48
+
onChange: PropTypes.func,
49
+
name: PropTypes.string,
50
+
type: PropTypes.string,
51
+
ariaLabel: PropTypes.string,
55
52
/** Standard React Input autoFocus (focus the element on mount) */
56
-
autoFocus: PropTypes.PropTypes.bool,
53
+
autoFocus: PropTypes.bool,
57
54
/** Sets value of autocomplete attribute (consult the [HTML spec](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete) for possible values */
58
-
autocomplete: PropTypes.PropTypes.string,
55
+
autocomplete: PropTypes.string,
59
56
/** when set to true this component is disabled */
60
-
disabled: PropTypes.PropTypes.bool,
57
+
disabled: PropTypes.bool,
61
58
/** A single CSS class name to be passed to the Input element. */
62
-
className: PropTypes.PropTypes.string,
59
+
className: PropTypes.string,
63
60
/** Input max length */
64
-
maxLength: PropTypes.PropTypes.number,
61
+
maxLength: PropTypes.number,
65
62
/** Placeholder to display */
66
-
placeholder: PropTypes.PropTypes.string,
63
+
placeholder: PropTypes.string,
67
64
/** Use a customized input component instead of the default html input tag */
0 commit comments