ether-admin/node_modules/ant-design-vue/lib/vc-virtual-list/interface.d.ts

10 lines
321 B
TypeScript

import type { CSSProperties, VNodeTypes } from 'vue';
import type { Key } from '../_util/type';
export type RenderFunc<T> = (item: T, index: number, props: {
style?: CSSProperties;
}) => VNodeTypes;
export interface SharedConfig<T> {
getKey: (item: T) => Key;
}
export type GetKey<T = object> = (item: T) => Key;