UNPKG

@pk-design/react-ui-kit

Version:
13 lines (12 loc) 688 B
import { OptionProps, SelectProps, SelectState } from './props'; export declare const isString: (value: any) => boolean; export declare const isNumber: (value: any) => boolean; export declare const isObject: (value: any) => boolean; export declare const isFunction: (value: any) => boolean; export declare const stringify: (value: object) => string; export declare const isEqual: (obj1?: object, obj2?: object) => boolean; /** * Default algorithm for filtering results. */ export declare function defaultFilterBy(option: OptionProps, props: SelectProps & SelectState): boolean; export declare function debounce(callback: Function, interval: number): (...args: any) => void;