Add toggle for pretty view

This commit is contained in:
Gregory Schier
2023-02-27 09:08:48 -08:00
parent fe18cd1806
commit 9dc8234f4b
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} />;
}