UNPKG

@pk-design/react-ui-kit

Version:
13 lines (12 loc) 819 B
import { FormFields } from './props'; export declare const MULTI_VALUE_FIELDS: string[]; export declare const BOOLEAN_FIELDS: string[]; export declare const emailRegex: RegExp; export declare const isDateField: (component?: string, type?: string) => boolean; export declare const isBooleanField: (component?: string, type?: string) => boolean; export declare const isSelectField: (component?: string, multiple?: boolean) => boolean; export declare const isMultiValueField: (component?: string, multiple?: boolean) => boolean; export declare const noopWithReturn: (str: string) => string; export declare const parseTranslationOptions: (options?: any, t?: Function) => any; export declare const isNestedField: (field: FormFields) => boolean; export declare const isGroupField: (field: FormFields) => boolean;