prodap-chatbot-domain
Version:
Classes utilizadas na resposta de todas as Intents do Assistente Virtual
45 lines (44 loc) • 1.13 kB
TypeScript
import { TableBodyHeadType } from '../table';
import CardAbstract, { CardAbstractProps } from './CardAbstract';
export type Ellipsis = {
size: number;
value?: string;
};
export type IconTypes = {
base64: string;
color?: string;
height?: number;
width?: number;
};
export type TableCellTypes = {
color?: string;
ellipsis?: Ellipsis;
icon?: IconTypes;
isClickable?: boolean;
isTooltip?: boolean;
tooltip?: string;
url?: string;
value?: string;
};
export type TableRowTypes = string | TableCellTypes | any;
export type CardTableProps = CardAbstractProps & {
ellipsis?: Ellipsis;
isClickable?: boolean;
isTooltip?: boolean;
source?: string;
tBody: TableBodyHeadType;
tHead?: TableBodyHeadType;
updatedAt?: string | Date;
url?: string;
};
export declare class CardTable extends CardAbstract {
ellipsis?: Ellipsis;
isClickable?: boolean;
isTooltip?: boolean;
source?: string;
tBody: TableBodyHeadType;
tHead?: TableBodyHeadType;
updatedAt?: string | Date;
url?: string;
constructor(props: CardTableProps);
}