import { Accordion, AccordionProps } from './Accordion';
import { AccordionContent, AccordionContentProps } from './AccordionContent';
import { AccordionItem, AccordionItemProps } from './AccordionItem';
import { AccordionTrigger, AccordionTriggerProps } from './AccordionTrigger';

const AccordionNameSpace = Object.assign(Accordion, {
    Content: AccordionContent,
    Item: AccordionItem,
    Trigger: AccordionTrigger,
});

export type {
    AccordionProps,
    AccordionContentProps,
    AccordionItemProps,
    AccordionTriggerProps,
};
export { AccordionNameSpace as Accordion };
