UNPKG

@bottledbrains/ui

Version:

A React UI library based on Tailwind CSS

12 lines (11 loc) 315 B
import { FC, ReactNode } from "react"; export interface ConfirmProps { content: ReactNode; onConfirm: () => void; onCancel: () => void; } export declare const ConfirmModal: FC<ConfirmProps>; declare const confirm: ({ content, }: { content: ReactNode; }) => Promise<unknown>; export default confirm;