import { PropsWithChildren } from 'react' import { Button, cn } from 'ui' interface ConfirmFooterProps { message: string cancelLabel?: string confirmLabel?: string confirmLabelLoading?: string isLoading?: boolean onCancel?: () => void | Promise onConfirm?: () => void | Promise } export const ConfirmFooter = ({ message, cancelLabel = 'Cancel', confirmLabel = 'Confirm', confirmLabelLoading = 'Working...', isLoading = false, onCancel, onConfirm, }: PropsWithChildren) => { return (
{message}
) }