UNPKG

@mantine/form

Version:

Mantine form management library

9 lines (8 loc) 296 B
import type { SyncReactNode } from '../types'; interface HasLengthOptions { max?: number; min?: number; } type HasLengthPayload = HasLengthOptions | number; export declare function hasLength(payload: HasLengthPayload, error?: SyncReactNode): (value: unknown) => SyncReactNode; export {};