pixel-react 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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?: 'string';
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?: 'string';
1141
+ id?: string;
1142
1142
  onSubmit: Form.SubmitHandler<T>;
1143
1143
  children: (methods: ReturnType<typeof Form.useForm<T>>) => React__default.ReactNode;
1144
1144
  }