further implementing service page (#3)

This commit is contained in:
UUBulb authored and GitHub committed 2024-11-17 10:05:20 +08:00
1 parent 55821320dc
commit 6e3f888792
20 files changed
+936 -333

No files matched your search

+27
View File
@@ -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>
);
});