prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
25 lines (24 loc) • 771 B
TypeScript
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);
}