import { LegendType, StyleType, TextType } from '../../common/types'; import Message from '../base/Message'; import AccordionTypes from './AccordionTypes'; export type AccordionAbstractProps = { accordionType: AccordionTypes; key?: string | number; legend?: LegendType[]; order?: boolean; style?: StyleType; subtitle?: string; title?: TextType; tooltip?: string; }; export default class AccordionAbstract extends Message { accordionType: AccordionTypes; key?: string | number; legend?: LegendType[]; order?: boolean; style?: StyleType; subtitle?: string; title?: TextType; tooltip?: string; constructor({ accordionType, key, legend, order, style, subtitle, title, tooltip, }: AccordionAbstractProps); }