Add toggle for pretty view

This commit is contained in:
Gregory Schier
2023-02-27 09:08:48 -08:00
parent bb61602fd2
commit 09d16a03ef
8 changed files with 93 additions and 16 deletions

View File

@@ -0,0 +1,9 @@
import type { LinkProps } from 'react-router-dom';
import { Link } from 'react-router-dom';
import { Button, ButtonProps } from './Button';
type Props = ButtonProps<typeof Link> & LinkProps;
export function ButtonLink({ ...props }: Props) {
return <Button as={Link} {...props} />;
}