@s_mart/form 3.2.0 → 3.2.1
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/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ interface IFormProps<T> extends Omit<UseFormProps, 'resolver'> {
|
|
|
15
15
|
* Prop que faz com que o formulário não atualize ao mudar o defaultValue
|
|
16
16
|
*/
|
|
17
17
|
disableDefaultValuesUpdate?: boolean;
|
|
18
|
-
schema?: z.ZodObject<any
|
|
18
|
+
schema?: z.ZodObject<any> | z.ZodEffects<z.ZodObject<any>>;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
declare function Form({ children, onSubmit, style, disableDefaultValuesUpdate, ...rest }: IFormProps<any>): react_jsx_runtime.JSX.Element;
|