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 | activeKey?: unknown;
|
10 | defaultActiveKey?: unknown;
|
11 | onSelect?: SelectCallback;
|
12 | }
|
13 |
|
14 | declare class ListGroup<
|
15 | As extends React.ElementType = 'div'
|
16 | > extends BsPrefixComponent<As, ListGroupProps> {
|
17 | static Item: typeof ListGroupItem;
|
18 | }
|
19 |
|
20 | export default ListGroup;
|