UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

6 lines (5 loc) 401 B
import type { Ref, UnwrapRef } from 'vue'; export type Updater<State> = (prev: State) => State; export declare function useLayoutState<State>(defaultState: State): [Ref<State>, (updater: Updater<State>) => void]; /** Lock frame, when frame pass reset the lock. */ export declare function useTimeoutLock<State>(defaultState?: State): [(state: UnwrapRef<State>) => void, () => UnwrapRef<State> | null];