mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 08:50:20 +00:00
further implementing service page (#3)
This commit is contained in:
1 parent
0c38d52025
commit
f4fbc9f488
20 files changed
+936
-333
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import { Plus, Edit2, Trash2 } from "lucide-react"
|
||||
import { Button, ButtonProps } from "@/components/ui/button"
|
||||
import { forwardRef } from "react";
|
||||
|
||||
export const EditButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
|
||||
return (
|
||||
<Button {...props} ref={ref} size="icon">
|
||||
<Edit2 />
|
||||
</Button>
|
||||
);
|
||||
});
|
||||
|
||||
export const TrashButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
|
||||
return (
|
||||
<Button {...props} ref={ref} size="icon">
|
||||
<Trash2 />
|
||||
</Button>
|
||||
);
|
||||
});
|
||||
|
||||
export const PlusButton = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
|
||||
return (
|
||||
<Button {...props} ref={ref} size="icon">
|
||||
<Plus />
|
||||
</Button>
|
||||
);
|
||||
});
|
||||
Reference in new issue
Block a user