prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
21 lines (20 loc) • 566 B
TypeScript
import { IconType, TextType } from '../common/types';
import ActionTypes from './ActionTypes';
export type ActionAbstractProps = {
color?: string;
icon?: IconType;
isPlaying?: boolean;
label: TextType | number;
hideIconInMessage?: boolean;
text?: string;
};
export default abstract class ActionAbstract {
color?: string;
hideIconInMessage?: boolean;
icon?: IconType;
isPlaying?: boolean;
label: TextType | number;
text?: string;
type: ActionTypes;
constructor(props: ActionAbstractProps, type: ActionTypes);
}