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:
parent
fc0e75383f
commit
8c9688017b
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { useState, useEffect } from "react";
|
|||
import { Button } from "@/components/ui/button";
|
||||
import { Input } from "@/components/ui/input";
|
||||
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 {
|
||||
Table,
|
||||
|
@ -269,6 +269,7 @@ const TableComponent = () => {
|
|||
<Button variant="destructive">Delete</Button>
|
||||
</DialogTrigger>
|
||||
<DialogContent>
|
||||
<DialogTitle>Delete Row</DialogTitle>
|
||||
<DialogHeader>
|
||||
Are you sure you want to delete this row?
|
||||
</DialogHeader>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue