14 lines
No EOL
332 B
TypeScript
14 lines
No EOL
332 B
TypeScript
import Link from "next/link";
|
|
import { Button } from "@payloadcms/ui";
|
|
|
|
export const GoToFrontendLink = () => {
|
|
return (
|
|
<Link href="/" className="absolute top-0 right-0 p-3.5 z-10">
|
|
<Button margin={false} buttonStyle="dashed">
|
|
Go to Frontend
|
|
</Button>
|
|
</Link>
|
|
);
|
|
};
|
|
|
|
export default GoToFrontendLink; |