Files
zkldi_Tachi/client/src/components/util/GentleLink.tsx
T
2021-08-27 08:38:57 +01:00

18 lines
306 B
TypeScript

import React from "react";
import { Link } from "react-router-dom";
import { JustChildren } from "types/react";
export default function GentleLink({
to,
children,
}: {
to: string;
className?: string;
} & JustChildren) {
return (
<Link to={to} className="gentle-link">
{children}
</Link>
);
}