// Type definitions for react-confirm 0.1 // Project: https://github.com/haradakunihiko/react-confirm // Definitions by: santiagodoldan // Mark Nelissen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from "react"; export function confirmable

(component: React.ComponentType): React.ComponentType

; export function createConfirmation(component: React.ComponentType, unmountDelay?: number): (props: any) => Promise; export interface ReactConfirmProps { confirmation: string | React.ReactElement; dismiss: () => void; proceed: (value?: string) => void; cancel: (value?: string) => void; show: boolean; }