rsuite
Version:
A suite of react components
15 lines (14 loc) • 494 B
TypeScript
import { SortConfig } from './helper/useSortHelper';
import { RsRefForwardingComponent, WithAsProps } from '../@types/common';
import ListItem from './ListItem';
export interface ListProps extends WithAsProps, SortConfig {
size?: 'lg' | 'md' | 'sm';
bordered?: boolean;
hover?: boolean;
sortable?: boolean;
}
export interface ListComponent extends RsRefForwardingComponent<'div', ListProps> {
Item: typeof ListItem;
}
declare const List: ListComponent;
export default List;