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
| disabled | boolean | false | Whether the input is disabled |
65
-
| id | string | - | The ID for input |
66
-
| maxLength | number | - | The max length |
67
-
| showCount | boolean | { formatter: ({ value: string, count: number, maxLength?: number }) => ReactNode } | false | Whether show text count |
68
-
| prefix | ReactNode | - | The prefix icon for the Input |
69
-
| suffix | ReactNode | - | The suffix icon for the Input |
70
-
| type | string |`text`| The type of input, see: [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types)( use `Input.TextArea` instead of `type="textarea"`) |
71
-
| value | string | - | The input content value |
72
-
| onChange | function(e) | - | Callback when user input |
73
-
| onPressEnter | function(e) | - | The callback function that is triggered when Enter key is pressed |
| disabled | boolean | false | Whether the input is disabled |
65
+
| id | string | - | The ID for input |
66
+
| maxLength | number | - | The max length |
67
+
| showCount | boolean | { formatter: ({ value: string, count: number, maxLength?: number }) => ReactNode } | false | Whether show text count |
68
+
| prefix | ReactNode | - | The prefix icon for the Input |
69
+
| suffix | ReactNode | - | The suffix icon for the Input |
70
+
| type | string |`text`| The type of input, see: [MDN](https://developer.mozilla.org/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types) (use the named `TextArea` export instead of `type="textarea"`) |
71
+
| value | string | - | The input content value |
72
+
| onChange | function(e) | - | Callback when user input |
73
+
| onPressEnter | function(e) | - | The callback function that is triggered when Enter key is pressed |
74
74
75
75
## TextArea
76
76
77
-
`rc-textarea` has been migrated into `@rc-component/input`. Use `Input.TextArea` or the named `TextArea` export for all textarea-related features.
77
+
`rc-textarea` has been migrated into `@rc-component/input`. Use the named `TextArea` export for all textarea-related features.
0 commit comments