UNPKG

679 BTypeScriptView Raw
1import * as React from 'react';
2import type { ComponentType } from './Overflow';
3export interface ItemProps<ItemType> extends React.HTMLAttributes<any> {
4 prefixCls: string;
5 item?: ItemType;
6 className?: string;
7 style?: React.CSSProperties;
8 renderItem?: (item: ItemType) => React.ReactNode;
9 responsive?: boolean;
10 itemKey?: React.Key;
11 registerSize: (key: React.Key, width: number | null) => void;
12 children?: React.ReactNode;
13 display: boolean;
14 order: number;
15 component?: ComponentType;
16 invalidate?: boolean;
17}
18declare const Item: React.ForwardRefExoticComponent<ItemProps<unknown> & React.RefAttributes<any>>;
19export default Item;