import Link from "next/link";
import type { ReactNode } from "react";
type TopBarProps = {
title: string;
left?: ReactNode;
right?: ReactNode;
};
export function TopBar({ title, left, right }: TopBarProps) {
return (
{left}
{title}
{right}
);
}
export function BackLink({ href }: { href: string }) {
return (
Back
);
}
export function InfoLink({ href }: { href: string }) {
return (
Info
);
}