prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
30 lines (29 loc) • 883 B
TypeScript
import FormAbstract, { FormAbstractProps } from './FormAbstract';
import ActionAbstract from '../../action/ActionAbstract';
import { RadioButtonList } from './RadioButton';
export type RadioButtonGroupProps = FormAbstractProps & {
action?: ActionAbstract;
list: RadioButtonList[];
question?: string;
showOthersOption?: boolean;
othersText?: string;
othersPlaceholder?: string;
buttonText?: string;
othersLabel?: string;
url: string;
route?: string;
};
export default class RadioButtonGroup extends FormAbstract {
action?: ActionAbstract;
list: RadioButtonList[];
question?: string;
showOthersOption?: boolean;
othersText?: string;
othersPlaceholder?: string;
othersKey: string;
buttonText?: string;
othersLabel?: string;
url: string;
route?: string;
constructor(props: RadioButtonGroupProps);
}