-
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.
- Loading branch information
1 parent
16c455d
commit f71c7b7
Showing
10 changed files
with
111 additions
and
47 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
18 changes: 18 additions & 0 deletions
18
packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/RecipientStep.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,18 @@ | ||
<script lang="ts"> | ||
import { ProcessingFee } from '../ProcessingFee'; | ||
import Recipient from '../Recipient.svelte'; | ||
let recipientComponent: Recipient; | ||
let processingFeeComponent: ProcessingFee; | ||
export let hasEnoughEth: boolean = false; | ||
export const reset = () => { | ||
recipientComponent.clearRecipient(); | ||
processingFeeComponent.resetProcessingFee(); | ||
}; | ||
</script> | ||
|
||
<Recipient bind:this={recipientComponent} /> | ||
<ProcessingFee bind:this={processingFeeComponent} bind:hasEnoughEth /> | ||
|
||
<div class="h-sep" /> |
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
1 change: 1 addition & 0 deletions
1
packages/bridge-ui-v2/src/components/Bridge/NFTBridgeSteps/index.ts
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { default as ImportStep } from './ImportStep.svelte'; | ||
export { default as RecipientStep } from './RecipientStep.svelte'; | ||
export { default as ReviewStep } from './ReviewStep.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
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
Oops, something went wrong.