UNPKG

ant-design-vue

Version:

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

7 lines (6 loc) 262 B
import type { Ref } from 'vue'; export declare type Updater<State> = (prev: State) => State; /** * Execute code before next frame but async */ export declare function useLayoutState<State>(defaultState: State): [Ref<State>, (updater: Updater<State>) => void];