-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bridge): reported issue fixes (#12368)
* feat(bridge): add button with tooltip component * fix(bridge): white text not appearing * fix(bridge): close token dropdown on click
- Loading branch information
1 parent
cc4a9bd
commit 0e596cb
Showing
7 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
packages/bridge-ui/src/components/ButtonWithTooltip.svelte
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,15 @@ | ||
<script lang="ts"> | ||
import Tooltip from "./Tooltip.svelte"; | ||
export let onClick: () => void; | ||
</script> | ||
|
||
<div class="label-text flex items-center"> | ||
<slot name="buttonText"></slot> | ||
<button | ||
class="inline-block cursor-pointer ml-1" | ||
on:click={onClick} | ||
> | ||
<Tooltip /> | ||
</button> | ||
</div> |
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
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
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
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
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
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