Auto-generated

In this example, all fields, labels, and options are inferred from the schema.

const schema = z.object({
  firstName: z.string().min(1),
  email: z.string().min(1).email(),
  howDidYouFindUs: z.enum(['aFriend', 'google']),
})

export default () => <SchemaForm schema={schema} />