UNPKG

ant-design-x-vue-next

Version:

Ant Design X for Vue — community continuation aligned with @ant-design/x

6 lines (5 loc) 361 B
import { type Ref } from 'vue'; import type { BubbleListProps } from '../interface'; export type UnRef<T extends Ref<any>> = T extends Ref<infer R> ? R : never; export type ListItemType = UnRef<ReturnType<typeof useListData>>[number]; export default function useListData(items: Ref<BubbleListProps['items']>, roles?: Ref<BubbleListProps['roles']>): Ref<any[]>;