Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
cfc65993
Unverified
Commit
cfc65993
authored
3 years ago
by
Alexander Lesnenko
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix link types (#19239)
parent
b912e4f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/metabase/components/Link.tsx
+6
-3
6 additions, 3 deletions
frontend/src/metabase/components/Link.tsx
with
6 additions
and
3 deletions
frontend/src/metabase/components/Link.tsx
+
6
−
3
View file @
cfc65993
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
Link
Props
{
interface
Props
extends
HTML
Props
<
HTMLAnchorElement
>
{
to
:
string
;
disabled
?:
boolean
;
className
?:
string
;
children
?:
ReactNode
;
tooltip
?:
string
;
activeClassName
?:
string
;
activeStyle
?:
CSSProperties
;
onlyActiveOnIndex
?:
boolean
;
}
function
BaseLink
({
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment