components/example.tsx
1
2
3
4
5
6
7
8
9
10
11
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger,} from "passport-ui";components/example.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<AlertDialog> <AlertDialogTrigger asChild> <Button variant="outline">Show Dialog</Button> </AlertDialogTrigger> <AlertDialogContent> <div className="meta-container"> <h3>Are you absolutely sure?</h3> <p> This action cannot be undone. This will permanently delete your account and remove your data from our servers. </p> </div> <AlertDialogFooter> <AlertDialogCancel variant="ghost">Cancel</AlertDialogCancel> <AlertDialogAction>Continue</AlertDialogAction> </AlertDialogFooter> </AlertDialogContent></AlertDialog>