1 | import * as React from 'react';
|
2 |
|
3 | import ListGroupItem from './ListGroupItem';
|
4 |
|
5 | import { BsPrefixComponent, SelectCallback } from './helpers';
|
6 |
|
7 | export interface ListGroupProps {
|
8 | variant?: 'flush';
|
9 | horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl';
|
10 | activeKey?: unknown;
|
11 | defaultActiveKey?: unknown;
|
12 | onSelect?: SelectCallback;
|
13 | }
|
14 |
|
15 | declare class ListGroup<
|
16 | As extends React.ElementType = 'div'
|
17 | > extends BsPrefixComponent<As, ListGroupProps> {
|
18 | static Item: typeof ListGroupItem;
|
19 | }
|
20 |
|
21 | export default ListGroup;
|