21 lines
501 B
TypeScript
21 lines
501 B
TypeScript
import * as React from 'react';
|
|
|
|
import AccordionCollapse from './AccordionCollapse';
|
|
import AccordionToggle from './AccordionToggle';
|
|
|
|
import { BsPrefixComponent } from './helpers';
|
|
|
|
export interface AccordionProps {
|
|
activeKey?: string;
|
|
defaultActiveKey?: string;
|
|
}
|
|
|
|
declare class Accordion<
|
|
As extends React.ElementType = 'div'
|
|
> extends BsPrefixComponent<As, AccordionProps> {
|
|
static Toggle: typeof AccordionToggle;
|
|
static Collapse: typeof AccordionCollapse;
|
|
}
|
|
|
|
export default Accordion;
|