prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
22 lines (21 loc) • 652 B
TypeScript
import FormAbstract, { FormAbstractProps } from './FormAbstract';
import ActionAbstract from '../../action/ActionAbstract';
import { StyleType } from '../../common/types';
export type CheckBoxList = FormAbstractProps & {
disabled?: boolean;
key?: string;
name?: string;
selected: boolean;
iconSize?: number;
styleContent?: StyleType;
styleIconContent?: StyleType;
};
export type CheckBoxProps = FormAbstractProps & {
action?: ActionAbstract;
list: CheckBoxList[];
};
export default class CheckBox extends FormAbstract {
action?: ActionAbstract;
list: CheckBoxList[];
constructor(props: CheckBoxProps);
}