prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
23 lines (22 loc) • 638 B
TypeScript
import { StyleType } from '../../common/types';
import Message from '../base/Message';
import ModalTypes from './ModalTypes';
export type ModalAbstractProps = any & {
backdropOpacity?: number;
hasCloseButton?: boolean;
id: string;
intent?: string;
isPredictionScreen?: boolean;
style?: StyleType;
url?: string;
visible?: boolean;
};
export default class ModalAbstract extends Message {
backdropOpacity?: number;
hasCloseButton?: boolean;
modalType: ModalTypes;
style?: StyleType;
url?: string;
visible?: boolean;
constructor(props: ModalAbstractProps, modalType: ModalTypes);
}