mirror of
https://github.com/skidoodle/budgetable.git
synced 2025-02-15 03:39:14 +01:00
Add DialogTitle component to delete confirmation dialog
This commit is contained in:
@@ -4,7 +4,7 @@ import { useState, useEffect } from "react";
|
|||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { Input } from "@/components/ui/input";
|
import { Input } from "@/components/ui/input";
|
||||||
import { Skeleton } from "@/components/ui/skeleton";
|
import { Skeleton } from "@/components/ui/skeleton";
|
||||||
import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogFooter } from "@/components/ui/dialog";
|
import { Dialog, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle } from "@/components/ui/dialog";
|
||||||
import { Badge } from "@/components/ui/badge";
|
import { Badge } from "@/components/ui/badge";
|
||||||
import {
|
import {
|
||||||
Table,
|
Table,
|
||||||
@@ -269,6 +269,7 @@ const TableComponent = () => {
|
|||||||
<Button variant="destructive">Delete</Button>
|
<Button variant="destructive">Delete</Button>
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
|
<DialogTitle>Delete Row</DialogTitle>
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
Are you sure you want to delete this row?
|
Are you sure you want to delete this row?
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
Reference in New Issue
Block a user