interface.d.ts 337 B

123456789
  1. import type { CSSProperties, VNodeTypes } from 'vue';
  2. import type { Key } from '../_util/type';
  3. export declare type RenderFunc<T> = (item: T, index: number, props: {
  4. style?: CSSProperties;
  5. }) => VNodeTypes;
  6. export interface SharedConfig<T> {
  7. getKey: (item: T) => Key;
  8. }
  9. export declare type GetKey<T = object> = (item: T) => Key;