21 lines
463 B
TypeScript
21 lines
463 B
TypeScript
|
import * as React from 'react';
|
||
|
|
||
|
import ListGroupItem from './ListGroupItem';
|
||
|
|
||
|
import { BsPrefixComponent, SelectCallback } from './helpers';
|
||
|
|
||
|
export interface ListGroupProps {
|
||
|
variant?: 'flush';
|
||
|
activeKey?: unknown;
|
||
|
defaultActiveKey?: unknown;
|
||
|
onSelect?: SelectCallback;
|
||
|
}
|
||
|
|
||
|
declare class ListGroup<
|
||
|
As extends React.ElementType = 'div'
|
||
|
> extends BsPrefixComponent<As, ListGroupProps> {
|
||
|
static Item: typeof ListGroupItem;
|
||
|
}
|
||
|
|
||
|
export default ListGroup;
|