ant-design-vue
Version:
An enterprise-class UI design language and Vue-based implementation
10 lines (9 loc) • 327 B
TypeScript
import { CSSProperties, VNodeTypes } from 'vue';
import { Key } from '../_util/type';
export declare type RenderFunc<T> = (item: T, index: number, props: {
style?: CSSProperties;
}) => VNodeTypes;
export interface SharedConfig<T> {
getKey: (item: T) => Key;
}
export declare type GetKey<T = object> = (item: T) => Key;