prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
25 lines (24 loc) • 721 B
TypeScript
import { LegendType, StyleType, TextType } from '../../common/types';
import Message from '../base/Message';
import ListTypes from './ListTypes';
export type ListAbstractProps = {
key?: string | number;
legend?: LegendType[];
listType: ListTypes;
order?: boolean;
style?: StyleType;
subtitle?: string;
title?: TextType;
tooltip?: string;
};
export default class ListAbstract extends Message {
key?: string | number;
legend?: LegendType[];
listType: ListTypes;
order?: boolean;
style?: StyleType;
subtitle?: string;
title?: TextType;
tooltip?: string;
constructor({ key, legend, listType, order, style, subtitle, title, tooltip, }: ListAbstractProps);
}