UNPKG

wetrade-design

Version:

一款多语言支持Vue3的UI框架

10 lines (9 loc) 337 B
import type { CSSProperties, VNodeTypes } from 'vue'; import type { 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;