UNPKG

ph-material-pickers

Version:

React components, that implements material design pickers for material-ui v4

8 lines (7 loc) 721 B
import * as React from 'react'; export declare function arrayIncludes<T>(array: T[] | readonly T[], itemOrItems: T | T[]): boolean; export declare const onSpaceOrEnter: (innerFn: () => void, onFocus?: ((event: React.KeyboardEvent<any>) => void) | undefined) => (event: React.KeyboardEvent) => void; export declare const pipe: (...fns: ((...args: any[]) => any)[]) => (...args: any[]) => any; export declare const executeInTheNextEventLoopTick: (fn: () => void) => void; export declare function createDelegatedEventHandler<TEvent>(fn: (event: TEvent) => void, onEvent?: (event: TEvent) => void): (event: TEvent) => void; export declare function mergeRefs<T>(refs: (React.Ref<T | null> | undefined)[]): (value: T) => void;