@chatui/core
Version:
The React library for Chatbot UI
25 lines (24 loc) • 677 B
TypeScript
import React from 'react';
import { ButtonProps } from '../Button';
export type ModalProps = {
active?: boolean;
baseClass?: string;
className?: string;
title?: string;
subTitle?: string;
titleId?: string;
showClose?: boolean;
autoFocus?: boolean;
backdrop?: boolean | 'static';
height?: number | string;
overflow?: boolean;
actions?: ButtonProps[];
vertical?: boolean;
btnVariant?: ButtonProps['variant'];
bgColor?: string;
avatar?: string;
onClose?: () => void;
onBackdropClick?: () => void;
children?: React.ReactNode;
};
export declare const Base: (props: ModalProps) => React.ReactPortal | null;