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

16 lines
577 B
TypeScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
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;