@devfamily/admiral
Version:
Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.
19 lines (18 loc) • 590 B
TypeScript
/// <reference types="react" />
import { TooltipProps } from '../Tooltip/interfaces';
export declare type PopconfirmLocaleType = {
cancelTitle: string;
confirmTitle: string;
};
export interface PopconfirmProps extends Pick<TooltipProps, 'placement'> {
title: React.ReactNode;
initialOpen?: boolean;
onConfirm?: (e?: React.MouseEvent<Element>) => void;
onCancel?: (e?: React.MouseEvent<Element>) => void;
locale?: PopconfirmLocale;
children?: React.ReactElement<any>;
}
export interface PopconfirmLocale {
cancelTitle: string;
confirmTitle: string;
}