now left menu in admin panel can be minimized
This commit is contained in:
parent
db40f100cd
commit
eb69c8500c
8 changed files with 119 additions and 16 deletions
|
|
@ -5,17 +5,20 @@ export function AppLink({
|
|||
href,
|
||||
navigate,
|
||||
className,
|
||||
title,
|
||||
children
|
||||
}: {
|
||||
href: string;
|
||||
navigate: Navigate;
|
||||
className?: string;
|
||||
title?: string;
|
||||
children: ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<a
|
||||
className={className}
|
||||
href={href}
|
||||
title={title}
|
||||
onClick={(event) => {
|
||||
event.preventDefault();
|
||||
navigate(href);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue