MCPcopy Create free account
hub / github.com/bholmesdev/simple-stack / Form

Function Form

examples/nextjs-app-router/components/Form.tsx:49–95  ·  view source on GitHub ↗
({
	children,
	validator,
	fieldErrors,
	name,
	action,
	...formProps
}: {
	validator: FormValidator;
	fieldErrors?: FieldErrors;
	action: (formData: FormData) => void;
} & Omit<ComponentProps<"form">, "method" | "onSubmit">)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

validateFormFunction · 0.90
useCreateFormContextFunction · 0.70

Tested by

no test coverage detected