ponchojs
Version:
Poncho
18 lines (17 loc) • 604 B
TypeScript
/// <reference types="react" />
declare type IconVariants = 'question' | 'warning' | 'error' | 'information' | 'success' | 'share';
interface Props {
title: string;
btns?: ('accept' | 'cancel' | 'close')[];
show: boolean;
onClose: (wasAccepted: boolean) => void;
icon?: IconVariants;
iconSize?: number;
subtitle?: string | JSX.Element;
full?: boolean;
titleAlign?: 'start' | 'end' | 'left' | 'right' | 'center' | 'justify';
titleSize?: string;
separator?: boolean;
}
export declare const AlertDialog: (props: Props) => JSX.Element;
export {};