Differential D8441 Diff 25828 src/cashtab/src/components/Configure/__tests__/__snapshots__/Configure.test.js.snap
Changeset View
Changeset View
Standalone View
Standalone View
src/cashtab/src/components/Configure/__tests__/__snapshots__/Configure.test.js.snap
- This file was added.
// Jest Snapshot v1, https://goo.gl/fbAQLP | |||||
exports[`Configure with a wallet 1`] = ` | |||||
<div | |||||
className="ant-spin-nested-loading" | |||||
> | |||||
<div> | |||||
<div | |||||
className="ant-spin ant-spin-spinning" | |||||
> | |||||
<span | |||||
className="ant-spin-dot ant-spin-dot-spin" | |||||
> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
</span> | |||||
</div> | |||||
</div> | |||||
<div | |||||
className="ant-spin-container ant-spin-blur" | |||||
> | |||||
<div | |||||
className="sc-ifAKCX fKABHO" | |||||
> | |||||
<h2> | |||||
<i | |||||
aria-label="icon: copy" | |||||
className="anticon anticon-copy" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="copy" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
Seed Phrase | |||||
</h2> | |||||
<p> | |||||
A seed phrase can be used to restore a wallet in case the original instance of it is destroyed. We highly recommend always making a copy of your seed phrase and keeping it somewhere safe. | |||||
</p> | |||||
<div | |||||
className="ant-collapse ant-collapse-icon-position-left sc-bdVaJa dekngj" | |||||
role={null} | |||||
> | |||||
<div | |||||
className="ant-collapse-item" | |||||
> | |||||
<div | |||||
aria-expanded="false" | |||||
className="ant-collapse-header" | |||||
onClick={[Function]} | |||||
onKeyPress={[Function]} | |||||
role="button" | |||||
tabIndex={0} | |||||
> | |||||
<i | |||||
aria-label="icon: right" | |||||
className="anticon anticon-right ant-collapse-arrow" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="right" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
Click to reveal seed phrase | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<div | |||||
className="sc-EHOje dPUTlz" | |||||
/> | |||||
<h2> | |||||
<i | |||||
aria-label="icon: import" | |||||
className="anticon anticon-import" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="import" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
Import Seed Phrase | |||||
</h2> | |||||
<p> | |||||
Copy and paste your mnemonic seed phrase below to import an existing wallet | |||||
</p> | |||||
<form | |||||
className="ant-form ant-form-horizontal" | |||||
onSubmit={[Function]} | |||||
style={ | |||||
Object { | |||||
"width": "auto", | |||||
} | |||||
} | |||||
> | |||||
<div | |||||
className="ant-row ant-form-item" | |||||
style={Object {}} | |||||
> | |||||
<div | |||||
className="ant-col ant-form-item-control-wrapper" | |||||
style={Object {}} | |||||
> | |||||
<div | |||||
className="ant-form-item-control" | |||||
> | |||||
<span | |||||
className="ant-form-item-children" | |||||
> | |||||
<span | |||||
className="ant-input-affix-wrapper" | |||||
> | |||||
<span | |||||
className="ant-input-prefix" | |||||
> | |||||
<i | |||||
aria-label="icon: lock" | |||||
className="anticon anticon-lock" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="lock" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
</span> | |||||
<input | |||||
className="ant-input" | |||||
name="mnemonic" | |||||
onChange={[Function]} | |||||
onKeyDown={[Function]} | |||||
placeholder="mnemonic (seed phrase)" | |||||
required={true} | |||||
style={null} | |||||
type="text" | |||||
value="" | |||||
/> | |||||
</span> | |||||
</span> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<button | |||||
className="sc-bxivhb femiuL" | |||||
disabled={true} | |||||
onClick={[Function]} | |||||
> | |||||
Import | |||||
</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
`; | |||||
exports[`Configure without a wallet 1`] = ` | |||||
<div | |||||
className="ant-spin-nested-loading" | |||||
> | |||||
<div> | |||||
<div | |||||
className="ant-spin ant-spin-spinning" | |||||
> | |||||
<span | |||||
className="ant-spin-dot ant-spin-dot-spin" | |||||
> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
<i | |||||
className="ant-spin-dot-item" | |||||
/> | |||||
</span> | |||||
</div> | |||||
</div> | |||||
<div | |||||
className="ant-spin-container ant-spin-blur" | |||||
> | |||||
<div | |||||
className="sc-ifAKCX fKABHO" | |||||
> | |||||
<h2> | |||||
<i | |||||
aria-label="icon: copy" | |||||
className="anticon anticon-copy" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="copy" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
Seed Phrase | |||||
</h2> | |||||
<p> | |||||
A seed phrase can be used to restore a wallet in case the original instance of it is destroyed. We highly recommend always making a copy of your seed phrase and keeping it somewhere safe. | |||||
</p> | |||||
<div | |||||
className="sc-EHOje dPUTlz" | |||||
/> | |||||
<h2> | |||||
<i | |||||
aria-label="icon: import" | |||||
className="anticon anticon-import" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="import" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M888.3 757.4h-53.8c-4.2 0-7.7 3.5-7.7 7.7v61.8H197.1V197.1h629.8v61.8c0 4.2 3.5 7.7 7.7 7.7h53.8c4.2 0 7.7-3.4 7.7-7.7V158.7c0-17-13.7-30.7-30.7-30.7H158.7c-17 0-30.7 13.7-30.7 30.7v706.6c0 17 13.7 30.7 30.7 30.7h706.6c17 0 30.7-13.7 30.7-30.7V765.1c0-4.3-3.5-7.7-7.7-7.7zM902 476H588v-76c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 0 0 0 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-76h314c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
Import Seed Phrase | |||||
</h2> | |||||
<p> | |||||
Copy and paste your mnemonic seed phrase below to import an existing wallet | |||||
</p> | |||||
<form | |||||
className="ant-form ant-form-horizontal" | |||||
onSubmit={[Function]} | |||||
style={ | |||||
Object { | |||||
"width": "auto", | |||||
} | |||||
} | |||||
> | |||||
<div | |||||
className="ant-row ant-form-item" | |||||
style={Object {}} | |||||
> | |||||
<div | |||||
className="ant-col ant-form-item-control-wrapper" | |||||
style={Object {}} | |||||
> | |||||
<div | |||||
className="ant-form-item-control" | |||||
> | |||||
<span | |||||
className="ant-form-item-children" | |||||
> | |||||
<span | |||||
className="ant-input-affix-wrapper" | |||||
> | |||||
<span | |||||
className="ant-input-prefix" | |||||
> | |||||
<i | |||||
aria-label="icon: lock" | |||||
className="anticon anticon-lock" | |||||
> | |||||
<svg | |||||
aria-hidden="true" | |||||
className="" | |||||
data-icon="lock" | |||||
fill="currentColor" | |||||
focusable="false" | |||||
height="1em" | |||||
viewBox="64 64 896 896" | |||||
width="1em" | |||||
> | |||||
<path | |||||
d="M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 1 0-56 0z" | |||||
/> | |||||
</svg> | |||||
</i> | |||||
</span> | |||||
<input | |||||
className="ant-input" | |||||
name="mnemonic" | |||||
onChange={[Function]} | |||||
onKeyDown={[Function]} | |||||
placeholder="mnemonic (seed phrase)" | |||||
required={true} | |||||
style={null} | |||||
type="text" | |||||
value="" | |||||
/> | |||||
</span> | |||||
</span> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
<button | |||||
className="sc-bxivhb femiuL" | |||||
disabled={true} | |||||
onClick={[Function]} | |||||
> | |||||
Import | |||||
</button> | |||||
</form> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
`; |