UNPKG
zod-form-kit
Version:
latest (1.0.0)
1.0.0
UI-agnostic form generation library based on Zod schemas with extensible adapter pattern
zod-form-kit
/
dist
/
components
/
ZodForm.d.ts
3 lines
(2 loc)
•
258 B
TypeScript
View Raw
1
2
3
import
{
ZodFormProps
,
ValidFormSchema
}
from
'../types/form-generator'
;
export
declare
function
ZodForm
<T
extends
ValidFormSchema
>({ schema, onSubmit, defaultValues, className, registerUIAdapter }:
ZodFormProps
<T>):
import
(
"react/jsx-runtime"
).
JSX
.
Element
;