import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Button } from '../../../lib/ui/Button.js';
export function PopoverContentPrompt(props) {
    const { confirmText = t.confirm, cancelText = t.cancel, confirmLoading = false, prompt = t.areYouSure, description, onConfirm, onCancel, } = props;
    return (_jsxs("div", { className: 'seam-popover-content-prompt', children: [_jsxs("div", { children: [_jsx("div", { className: 'seam-popover-content-prompt-text', children: prompt }), description != null && (_jsx("div", { className: 'seam-popover-content-prompt-description', children: description }))] }), _jsxs("div", { className: 'seam-popover-content-prompt-buttons', children: [_jsx(Button, { variant: 'solid', onClick: onConfirm, loading: confirmLoading, size: 'small', children: confirmText }), _jsx(Button, { variant: 'danger', size: 'small', onClick: onCancel, children: cancelText })] })] }));
}
const t = {
    confirm: 'Confirm',
    cancel: 'Cancel',
    areYouSure: 'Are you sure?',
};
//# sourceMappingURL=PopoverContentPrompt.js.map