import { Type, Component } from '@angular/core'; /** * Accordion Item entity * Data that will be passed to callback function */ export interface AccordionItem { headerData: any; contentData: any; } export interface AccordionConfigurations { opened?: number; iconPosition?: AccordionIconPosition; header?: { component?: Type; renderElement?: (data: any, index: any) => Node; }; content?: { component?: Type; renderElement?: (data: any, index: any) => Node; }; } export type AccordionIconPosition = 'left' | 'right';