@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
16 lines • 417 B
TypeScript
export declare const DEFAULT_VALIDITY_STATE: {
badInput: boolean;
customError: boolean;
patternMismatch: boolean;
rangeOverflow: boolean;
rangeUnderflow: boolean;
stepMismatch: boolean;
tooLong: boolean;
tooShort: boolean;
typeMismatch: boolean;
valid: null;
valueMissing: boolean;
};
export declare const fieldValidityMapping: {
valid(value: boolean | null): Record<string, string> | null;
};