mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +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;
|