taro-hooks
Version:
为 Taro 而设计的 Hooks Library
10 lines (9 loc) • 378 B
TypeScript
import type { PromiseWithoutOptionAction } from '../type';
export type Close = PromiseWithoutOptionAction<TaroGeneral.CallbackResult>;
export type SelectedRange = PromiseWithoutOptionAction<TaroGeneral.CallbackResult>;
declare function useKeyboard(): {
readonly height: number;
readonly close: Close;
readonly getRange: SelectedRange;
};
export default useKeyboard;