fix button type
This commit is contained in:
parent
30c5bcc6bd
commit
b3d04f4f61
@ -1,15 +1,8 @@
|
||||
import { IconButton, IconButtonProps, useTheme } from "@mui/material";
|
||||
import { ForwardRefExoticComponent, RefAttributes } from "react";
|
||||
import { LinkProps } from "react-router-dom";
|
||||
import { deepmerge } from "@mui/utils";
|
||||
|
||||
|
||||
type Props = IconButtonProps & {
|
||||
component?: ForwardRefExoticComponent<LinkProps & RefAttributes<HTMLAnchorElement>>;
|
||||
to?: string;
|
||||
};
|
||||
|
||||
export function BurgerButton(props: Props) {
|
||||
export function BurgerButton(props: IconButtonProps) {
|
||||
const theme = useTheme();
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user