UNPKG

539 BTypeScriptView Raw
1import ListGroupItem from './ListGroupItem';
2import { BsPrefixProps, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
3export interface ListGroupProps extends BsPrefixProps {
4 variant?: 'flush';
5 horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl';
6 activeKey?: unknown;
7 defaultActiveKey?: unknown;
8 onSelect?: SelectCallback;
9}
10declare type ListGroup = BsPrefixRefForwardingComponent<'div', ListGroupProps> & {
11 Item: typeof ListGroupItem;
12};
13declare const ListGroup: ListGroup;
14export default ListGroup;