openpanel/documentation/src/refine-theme/common-home-button.tsx
2024-02-05 10:23:04 +01:00

28 lines
625 B
TypeScript

import React from "react";
import Link from "@docusaurus/Link";
import clsx from "clsx";
type Props = {
className?: string;
};
export const CommonHomeButton = ({ className }: Props) => {
return (
<Link
href="/"
className={clsx(
"text-base",
"text-gray-500 dark:text-gray-400",
"no-underline",
"transition-colors",
"duration-200",
"ease-in-out",
"whitespace-nowrap",
className,
)}
>
OpenPanel Home
</Link>
);
};