import type { FunctionComponent } from "react"; import { Link, type LinkProps } from "@remix-run/react"; export default function Footer() { // TODO const isDisabled = true; if (isDisabled) { return null; } return ( ); } type Props = { to: LinkProps["to"]; name: string; }; const FooterLink: FunctionComponent = ({ to, name }) => (
{name}
);