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
Copy file name to clipboardExpand all lines: pages/api/text-field.md
+1-34Lines changed: 1 addition & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,6 @@ For advanced cases, please look at the source of TextField by clicking on the
40
40
41
41
| Name | Type | Default | Description |
42
42
|:-----|:-----|:--------|:------------|
43
-
<<<<<<< HEAD
44
43
| <spanclass="prop-name">autoComplete</span> | <spanclass="prop-type">string || This property helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it here: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill|
45
44
| <spanclass="prop-name">autoFocus</span> | <spanclass="prop-type">bool || If `true`, the input will be focused during the first mount. |
46
45
| <spanclass="prop-name">defaultValue</span> | <spanclass="prop-type">union: string |<br> number<br> || The default value of the `Input` element. |
@@ -66,41 +65,9 @@ For advanced cases, please look at the source of TextField by clicking on the
66
65
| <spanclass="prop-name">select</span> | <spanclass="prop-type">bool | <spanclass="prop-default">false</span> | Render a `Select` element while passing the `Input` element to `Select` as `input` parameter. If this option is set you must pass the options of the select as children. |
67
66
| <spanclass="prop-name">SelectProps</span> | <spanclass="prop-type">object || Properties applied to the [`Select`](/api/select) element. |
68
67
| <spanclass="prop-name">type</span> | <spanclass="prop-type">string || Type attribute of the `Input` element. It should be a valid HTML5 input type. |
69
-
| <spanclass="prop-name">value</span> | <spanclass="prop-type">union: string |<br> number |<br> arrayOf<br> || The value of the `Input` element, required for a controlled component. |
68
+
| <spanclass="prop-name">value</span> | <spanclass="prop-type">union: string |<br> number |<br> bool |<br> arrayOf<br> || The value of the `Input` element, required for a controlled component. |
70
69
71
70
Any other properties supplied will be spread to the root element ([FormControl](/api/form-control)).
72
-
=======
73
-
| autoComplete | string || This property helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it here: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill|
74
-
| autoFocus | bool || If `true`, the input will be focused during the first mount. |
75
-
| defaultValue | string || The default value of the `Input` element. |
76
-
| disabled | bool || If `true`, the input will be disabled. |
77
-
| error | bool || If `true`, the label will be displayed in an error state. |
78
-
| FormHelperTextProps | object || Properties applied to the `FormHelperText` element. |
79
-
| fullWidth | bool || If `true`, the input will take up the full width of its container. |
80
-
| helperText | node || The helper text content. |
81
-
| helperTextClassName | string || The CSS class name of the helper text element. |
82
-
| id | string || The id of the `input` element. Use that property to make `label` and `helperText` accessible for screen readers. |
83
-
| InputLabelProps | object || Properties applied to the `InputLabel` element. |
84
-
| InputProps | object || Properties applied to the `Input` element. |
85
-
| inputProps | object || Properties applied to the native `input` element. |
86
-
| inputRef | func || Use that property to pass a ref callback to the native input component. |
87
-
| label | node || The label content. |
88
-
| labelClassName | string || The CSS class name of the label element. |
89
-
| margin | enum: 'none' |<br> 'dense' |<br> 'normal'<br> || If `dense` or `normal`, will adjust vertical spacing of this and contained components. |
90
-
| multiline | bool || If `true`, a textarea element will be rendered instead of an input. |
91
-
| name | string || Name attribute of the `input` element. |
92
-
| onChange | func || Callback fired when the value is changed.<br><br>**Signature:**<br>`function(event: object) => void`<br>*event:* The event source of the callback |
93
-
| placeholder | string || The short hint displayed in the input before the user enters a value. |
94
-
| required | bool | false | If `true`, the label is displayed as required. |
95
-
| rows | union: string |<br> number<br> || Number of rows to display when multiline option is set to true. |
96
-
| rowsMax | union: string |<br> number<br> || Maximum number of rows to display when multiline option is set to true. |
97
-
| select | bool | false | Render a `Select` element while passing the `Input` element to `Select` as `input` parameter. If this option is set you must pass the options of the select as children. |
98
-
| SelectProps | object || Properties applied to the `Select` element. |
99
-
| type | string || Type attribute of the `Input` element. It should be a valid HTML5 input type. |
100
-
| value | union: string |<br> number |<br> bool |<br> arrayOf<br> || The value of the `Input` element, required for a controlled component. |
101
-
102
-
Any other properties supplied will be [spread to the root element](/guides/api#spread).
Copy file name to clipboardExpand all lines: pages/lab/api/speed-dial.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ title: SpeedDial API
19
19
| <spanclass="prop-name">ButtonProps</span> | <spanclass="prop-type">object || Properties applied to the [`Button`](/api/button) element. |
20
20
| <spanclass="prop-name required">children *</span> | <spanclass="prop-type">node || SpeedDialActions to display when the SpeedDial is `open`. |
21
21
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object || Override or extend the styles applied to the component. See [CSS API](#css-api) below for more details. |
22
-
| <spanclass="prop-name">direction</span> | <spanclass="prop-type">enum: 'up' |<br> 'down' |<br> 'left' |<br> 'right'<br> | <spanclass="prop-default">'top'</span> | The direction the actions open relative to the floating action button. |
22
+
| <spanclass="prop-name">direction</span> | <spanclass="prop-type">enum: 'up' |<br> 'down' |<br> 'left' |<br> 'right'<br> | <spanclass="prop-default">'up'</span> | The direction the actions open relative to the floating action button. |
23
23
| <spanclass="prop-name">hidden</span> | <spanclass="prop-type">bool | <spanclass="prop-default">false</span> | If `true`, the SpeedDial will be hidden. |
24
24
| <spanclass="prop-name required">icon *</span> | <spanclass="prop-type">element || The icon to display in the SpeedDial Floating Action Button. The `SpeedDialIcon` component provides a default Icon with animation. |
25
25
| <spanclass="prop-name">onClose</span> | <spanclass="prop-type">func || Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object, key: string) => void`<br>*event:* The event source of the callback<br>*key:* The key pressed |
0 commit comments