Alert Dialog

The Alert Dialog component is used to show Alert.

1. Import

KUMUI exports 9 AlertDialog-related components:

import { AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction } from "@rohitgadekar/kimui";

2. Usage


3. API

3.1 AlertDialog

AttributeTypeDescriptionDefault
Children

React.ReactNode

Children Props AlertDialog.-

3.2 AlertDialogTrigger

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogTrigger for AlertDialog.-

3.3 AlertDialogContent

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogContent Text For AlertDialog.-

3.4 AlertDialogHeader

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogHeader Text For AlertDialog.-

3.5 AlertDialogDescription

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogDescription Text For AlertDialog.-

3.6 AlertDialogFooter

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogFooter Text For AlertDialog.-

3.7 AlertDialogCancel

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogCancel Text For AlertDialog.-

3.8 AlertDialogAction

AttributeTypeDescriptionDefault
Children

React.ReactNode

AlertDialogAction Text For AlertDialog.-