import { Button } from 'lib/ui/Button.js' export interface PopoverContentPromptProps { onConfirm?: () => void onCancel?: () => void prompt?: string description?: string confirmText?: string cancelText?: string confirmLoading?: boolean } export function PopoverContentPrompt( props: PopoverContentPromptProps ): JSX.Element { const { confirmText = t.confirm, cancelText = t.cancel, confirmLoading = false, prompt = t.areYouSure, description, onConfirm, onCancel, } = props return (