UNPKG

taro-hooks

Version:
10 lines (9 loc) 378 B
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;