-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1355 from cosmos/david/1219-new-delegation
David/1219 new delegation
- Loading branch information
Showing
7 changed files
with
89 additions
and
105 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
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
52 changes: 52 additions & 0 deletions
52
test/unit/specs/components/staking/__snapshots__/ModalStake.spec.js.snap
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,52 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`renders correctly 1`] = ` | ||
"<div id=\\"modal-stake\\" class=\\"modal-stake\\"> | ||
<div class=\\"stake-header\\"> | ||
<img src=\\"~assets/images/cosmos-logo.png\\" class=\\"icon stake-atom\\"><span class=\\"tm-modal-title\\">Stake</span> | ||
<div class=\\"tm-modal-icon tm-modal-close\\"> | ||
<i class=\\"material-icons\\">close</i> | ||
</div> | ||
</div> | ||
<div class=\\"stake-form-group tm-form-group\\"> | ||
<!----> | ||
<label for=\\"to\\" class=\\"tm-form-group__label\\">To</label> | ||
<div class=\\"tm-form-group__field\\"> | ||
<input class=\\"tm-field\\" id=\\"to\\" readonly=\\"readonly\\"> | ||
</div> | ||
</div> | ||
<div class=\\"stake-form-group tm-form-group\\"> | ||
<!----> | ||
<label for=\\"from\\" class=\\"tm-form-group__label\\">From</label> | ||
<div class=\\"tm-form-group__field\\"> | ||
<div class=\\"tm-select\\" id=\\"from\\"> | ||
<select class=\\"tm-field tm-field-select\\"> | ||
<option value=\\"\\" disabled=\\"disabled\\" selected=\\"selected\\" hidden=\\"hidden\\"> | ||
Select option... | ||
</option> | ||
<option value=\\"\\"></option> | ||
</select> | ||
<div class=\\"tm-field-select-addon\\"> | ||
<i class=\\"material-icons\\">arrow_drop_down</i> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class=\\"stake-form-group tm-form-group\\"> | ||
<!----> | ||
<label for=\\"amount\\" class=\\"tm-form-group__label\\">Amount</label> | ||
<div class=\\"tm-form-group__field\\"> | ||
<input type=\\"number\\" max=\\"100\\" min=\\"1\\" class=\\"tm-field\\" id=\\"amount\\"> | ||
</div> | ||
</div> | ||
<div class=\\"stake-footer\\"> | ||
<button class=\\"tm-btn\\"><span class=\\"tm-btn__container tm-btn--size-lg\\"> | ||
<!----> | ||
<!----> | ||
<span class=\\"tm-btn__value\\">Cancel</span></span></button><button class=\\"tm-btn\\"><span class=\\"tm-btn__container tm-btn--size-lg tm-btn--primary\\"> | ||
<!----> | ||
<!----> | ||
<span class=\\"tm-btn__value\\">Stake</span></span></button> | ||
</div> | ||
</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