@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
8 lines (7 loc) • 397 B
TypeScript
import { ComputedRef, MaybeRef } from 'vue';
import * as asyncList from '@zag-js/async-list';
export interface UseAsyncListProps<T, C = string> extends asyncList.Props<T, C> {
}
export interface UseAsyncListReturn<T, C = string> extends ComputedRef<asyncList.Api<T, C>> {
}
export declare const useAsyncList: <T, C = string>(props?: MaybeRef<UseAsyncListProps<T, C>>) => UseAsyncListReturn<T, C>;