mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 07:09:57 +03:00
18 lines
306 B
TypeScript
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>
|
|
);
|
|
}
|