Skip to content
Snippets Groups Projects
Unverified Commit cfc65993 authored by Alexander Lesnenko's avatar Alexander Lesnenko Committed by GitHub
Browse files

fix link types (#19239)

parent b912e4f9
No related branches found
No related tags found
No related merge requests found
import cx from "classnames";
import React, { ReactNode } from "react";
import { Link as ReactRouterLink, LinkProps } from "react-router";
import React, { CSSProperties, HTMLProps, ReactNode } from "react";
import { Link as ReactRouterLink } from "react-router";
import styled from "styled-components";
import { color, display, hover, space } from "styled-system";
import Tooltip from "metabase/components/Tooltip";
import { stripLayoutProps } from "metabase/lib/utils";
interface Props extends LinkProps {
interface Props extends HTMLProps<HTMLAnchorElement> {
to: string;
disabled?: boolean;
className?: string;
children?: ReactNode;
tooltip?: string;
activeClassName?: string;
activeStyle?: CSSProperties;
onlyActiveOnIndex?: boolean;
}
function BaseLink({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment