File size: 401 Bytes
c30ea2a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { Button, ButtonProps } from "@/components/ui/button";
import Link from "@/lib/link";
import { JSX, RefAttributes } from "react";
const EditButton = (
props: JSX.IntrinsicAttributes &
ButtonProps &
RefAttributes<HTMLButtonElement>
) => {
return (
<Link href={"/app/dashboard"}>
<Button {...props}>{props.children}</Button>
</Link>
);
};
export default EditButton;
|