form-input-fields 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A collection of Material-UI form field components with Formik integration.
|
|
4
4
|
|
|
5
|
-
**Version 1.0.
|
|
5
|
+
**Version 1.0.19**
|
|
6
6
|
|
|
7
7
|
More control in the progress of development.
|
|
8
8
|
|
|
@@ -232,12 +232,12 @@ The FormTextField component accepts all props from `FormTextFieldProps`, `FieldP
|
|
|
232
232
|
|
|
233
233
|
#### FormTextFieldProps Interface
|
|
234
234
|
|
|
235
|
-
| Prop | Type
|
|
236
|
-
| ---------- |
|
|
237
|
-
| `onChange` | `function`
|
|
238
|
-
| `onBlur` | `function`
|
|
239
|
-
| `variant` | `'standard'
|
|
240
|
-
| `sx` | `SxProps<Theme>`
|
|
235
|
+
| Prop | Type | Default | Description |
|
|
236
|
+
| ---------- | -------------------------------------- | ------------ | -------------------------------------------------------------------------------------- |
|
|
237
|
+
| `onChange` | `function` | - | Custom change handler that overrides Formik's |
|
|
238
|
+
| `onBlur` | `function` | - | Custom blur handler that overrides Formik's |
|
|
239
|
+
| `variant` | `'standard' \| 'outlined' \| 'filled'` | `'standard'` | The variant of the MUI TextField. |
|
|
240
|
+
| `sx` | `SxProps<Theme>` | - | The system prop that allows defining system overrides as well as additional CSS styles |
|
|
241
241
|
|
|
242
242
|
#### Common Props (from FieldProps & TextFieldProps)
|
|
243
243
|
|