UNPKG

@mantine/form

Version:

Mantine form management library

8 lines (7 loc) 394 B
interface HasLengthOptions { max?: number; min?: number; } type HasLengthPayload = HasLengthOptions | number; export declare function hasLength(payload: HasLengthPayload, error?: React.ReactNode): (value: unknown) => string | number | true | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null; export {};