UNPKG

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