You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
515 B

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