UNPKG

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