chore(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.33.2 (#6226)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -11,10 +11,10 @@ import useMobile from "~/hooks/useMobile";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import { sidebarAppearDuration } from "~/styles/animations";
|
||||
|
||||
type Props = React.HTMLAttributes<HTMLDivElement> & {
|
||||
interface Props extends React.HTMLAttributes<HTMLDivElement> {
|
||||
children: React.ReactNode;
|
||||
border?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
function Right({ children, border, className }: Props) {
|
||||
const theme = useTheme();
|
||||
|
||||
@@ -29,7 +29,7 @@ const normalizeToLocation = (
|
||||
const joinClassnames = (...classnames: (string | undefined)[]) =>
|
||||
classnames.filter((i) => i).join(" ");
|
||||
|
||||
export type Props = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
||||
export interface Props extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
||||
activeClassName?: string;
|
||||
activeStyle?: React.CSSProperties;
|
||||
scrollIntoViewIfNeeded?: boolean;
|
||||
@@ -40,7 +40,7 @@ export type Props = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
||||
strict?: boolean;
|
||||
to: LocationDescriptor;
|
||||
onBeforeClick?: () => void;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* A <Link> wrapper that clicks extra fast and knows if it's "active" or not.
|
||||
|
||||
Reference in New Issue
Block a user