pixel-react 1.2.4 → 1.2.5
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.
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import Form from './Form';
|
3
3
|
interface FormProps<T extends Form.FieldValues> extends Form.UseFormProps<T> {
|
4
|
-
id?:
|
4
|
+
id?: string;
|
5
5
|
onSubmit: Form.SubmitHandler<T>;
|
6
6
|
children: (methods: ReturnType<typeof Form.useForm<T>>) => React.ReactNode;
|
7
7
|
}
|
package/lib/index.d.ts
CHANGED
@@ -1138,7 +1138,7 @@ declare const Typography: React__default.FC<TypographyProps>;
|
|
1138
1138
|
declare const useTheme: () => ThemeContextType;
|
1139
1139
|
|
1140
1140
|
interface FormProps<T extends Form.FieldValues> extends Form.UseFormProps<T> {
|
1141
|
-
id?:
|
1141
|
+
id?: string;
|
1142
1142
|
onSubmit: Form.SubmitHandler<T>;
|
1143
1143
|
children: (methods: ReturnType<typeof Form.useForm<T>>) => React__default.ReactNode;
|
1144
1144
|
}
|