mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-14 10:09:09 +03:00
User Page works
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import React from "react";
|
||||
import { JustChildren } from "types/react";
|
||||
|
||||
export default function Muted({ children }: JustChildren) {
|
||||
return <small className="text-muted">{children}</small>;
|
||||
}
|
||||
Reference in New Issue
Block a user