GoScrobble/web/node_modules/react-bootstrap/cjs/ListGroup.d.ts

16 lines
577 B
TypeScript

import ListGroupItem from './ListGroupItem';
import { BsPrefixProps, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
import { EventKey } from './types';
export interface ListGroupProps extends BsPrefixProps {
variant?: 'flush';
horizontal?: boolean | 'sm' | 'md' | 'lg' | 'xl';
activeKey?: EventKey;
defaultActiveKey?: EventKey;
onSelect?: SelectCallback;
}
declare type ListGroup = BsPrefixRefForwardingComponent<'div', ListGroupProps> & {
Item: typeof ListGroupItem;
};
declare const ListGroup: ListGroup;
export default ListGroup;