mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
16 lines
665 B
TypeScript
16 lines
665 B
TypeScript
import React from 'react';
|
|
import AccordionToggle from './AccordionToggle';
|
|
import AccordionCollapse from './AccordionCollapse';
|
|
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent, SelectCallback } from './helpers';
|
|
export interface AccordionProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'>, BsPrefixPropsWithChildren {
|
|
activeKey?: string;
|
|
defaultActiveKey?: string;
|
|
onSelect?: SelectCallback;
|
|
}
|
|
declare type Accordion = BsPrefixRefForwardingComponent<'div', AccordionProps> & {
|
|
Toggle: typeof AccordionToggle;
|
|
Collapse: typeof AccordionCollapse;
|
|
};
|
|
declare const Accordion: Accordion;
|
|
export default Accordion;
|