forked from mui/base-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnumber-field-increment.json
47 lines (47 loc) · 1.81 KB
/
number-field-increment.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"name": "NumberFieldIncrement",
"description": "A stepper button that increases the field value when clicked.\nRenders an `<button>` element.",
"props": {
"className": {
"type": "string | (state) => string",
"description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state."
},
"render": {
"type": "React.ReactElement | (props, state) => React.ReactElement",
"description": "Allows you to replace the component’s HTML element\nwith a different tag, or compose it with another component.\n\nAccepts a `ReactElement` or a function that returns the element to render."
}
},
"dataAttributes": {
"data-disabled": {
"description": "Present when the number field is disabled."
},
"data-readonly": {
"description": "Present when the number field is readonly."
},
"data-required": {
"description": "Present when the number field is required."
},
"data-valid": {
"description": "Present when the number field is in valid state (when wrapped in Field.Root)."
},
"data-invalid": {
"description": "Present when the number field is in invalid state (when wrapped in Field.Root)."
},
"data-dirty": {
"description": "Present when the number field's value has changed (when wrapped in Field.Root)."
},
"data-touched": {
"description": "Present when the number field has been touched (when wrapped in Field.Root)."
},
"data-filled": {
"description": "Present when the number field is filled (when wrapped in Field.Root)."
},
"data-focused": {
"description": "Present when the number field is focused (when wrapped in Field.Root)."
},
"data-scrubbing": {
"description": "Present while scrubbing."
}
},
"cssVariables": {}
}