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