@vtaits/form-schema
Version:
Serialization and parsing form values by schema
11 lines (7 loc) • 321 B
TypeScript
import { o as FieldType } from './types-DafXrhi5.js';
import { B as BaseFieldSchema } from './types-BSr5Y0bw.js';
type CheckboxSchema<FormApi> = BaseFieldSchema<FormApi, boolean> & {
isValueInverse?: boolean;
};
declare const checkbox: FieldType<CheckboxSchema<unknown>>;
export { type CheckboxSchema, checkbox };