You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/rc-virtual-list/lib/interface.d.ts

9 lines
287 B

/// <reference types="react" />
export declare type RenderFunc<T> = (item: T, index: number, props: {
style?: React.CSSProperties;
}) => React.ReactNode;
export interface SharedConfig<T> {
getKey: (item: T) => React.Key;
}
export declare type GetKey<T> = (item: T) => React.Key;