@saas-ui/forms 2.6.7 → 2.6.8

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @saas-ui/forms
2
2
 
3
+ ## 2.6.8
4
+
5
+ ### Patch Changes
6
+
7
+ - fc62212: Fixed type of formRef to accept ref function handler
8
+
3
9
  ## 2.6.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -607,7 +607,7 @@ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = Fiel
607
607
  /**
608
608
  * The Hook Form state ref.
609
609
  */
610
- formRef?: React$1.RefObject<UseFormReturn$1<TFieldValues, TContext>>;
610
+ formRef?: React$1.Ref<UseFormReturn$1<TFieldValues, TContext>>;
611
611
  /**
612
612
  * The form children, can be a render prop or a ReactNode.
613
613
  */
package/dist/index.d.ts CHANGED
@@ -607,7 +607,7 @@ interface FormOptions<TSchema = unknown, TFieldValues extends FieldValues = Fiel
607
607
  /**
608
608
  * The Hook Form state ref.
609
609
  */
610
- formRef?: React$1.RefObject<UseFormReturn$1<TFieldValues, TContext>>;
610
+ formRef?: React$1.Ref<UseFormReturn$1<TFieldValues, TContext>>;
611
611
  /**
612
612
  * The form children, can be a render prop or a ReactNode.
613
613
  */