-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add link in swaps disabled tooltip
- Loading branch information
1 parent
e34d5f3
commit 93f8964
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/app/pages/home/components/swaps-disabled-tooltip-label.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Stack, styled } from 'leather-styles/jsx'; | ||
|
||
import { Link } from '@app/ui/components/link/link'; | ||
|
||
export function SwapsDisabledTooltipLabel() { | ||
return ( | ||
<Stack gap="0"> | ||
<styled.span textStyle="caption.01">Swaps temporarily disabled</styled.span> | ||
<Link | ||
href="https://leather.io/guides/integrated-swap-disabled" | ||
target="_blank" | ||
color="ink.background-primary" | ||
width="fit-content" | ||
> | ||
<styled.span textStyle="caption.01">Learn more</styled.span> | ||
</Link> | ||
</Stack> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters