michihouse-components-tmp
Version:
Biblioteca de componentes da MichiHouse
21 lines (20 loc) • 530 B
TypeScript
import React from "react";
export interface AlertConfirmationProps {
button: {
name: string;
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
};
title: string;
description: string;
actions: {
confirm: {
name: string;
action?: () => void;
};
cancel: {
name: string;
};
};
}
declare const AlertConfirmation: React.FC<AlertConfirmationProps>;
export { AlertConfirmation };