mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 23:40:57 +00:00
7 lines
409 B
TypeScript
7 lines
409 B
TypeScript
export declare function getInputOnChange<T>(setValue: (value: null | undefined | T | ((current: T) => T)) => void): (val: null | undefined | T | React.ChangeEvent<any> | ((current: T) => T)) => void;
|
|
export type UseInputStateReturnValue<T> = [
|
|
T,
|
|
(value: null | undefined | T | React.ChangeEvent<any>) => void
|
|
];
|
|
export declare function useInputState<T>(initialState: T): UseInputStateReturnValue<T>;
|