@uhooks/use-value
Version:
11 lines • 504 B
TypeScript
import { SetStateAction } from 'react';
export interface IFCProps<T = any> {
className?: string;
value?: T;
readonly defaultValue?: T;
onChange?: (v: T) => void;
}
export declare type TSetStateAction<T> = (v: SetStateAction<T>, force?: boolean) => void;
export declare type noop = (this: any, ...args: any[]) => any;
export declare type PickFunction<T extends noop> = (this: ThisParameterType<T>, ...args: Parameters<T>) => ReturnType<T>;
//# sourceMappingURL=interface.d.ts.map