mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
15 lines
316 B
TypeScript
15 lines
316 B
TypeScript
import { CSSProperties, VNodeTypes } from 'vue';
|
|
import { 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;
|