mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-11 00:52:46 +02:00
Add toggle for pretty view
This commit is contained in:
@@ -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} />;
|
||||
}
|
||||
Reference in New Issue
Block a user