You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
2.7 KiB
130 lines
2.7 KiB
6 years ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`component.Form.PaySummaryLightning should render correctly 1`] = `
|
||
|
<Fragment>
|
||
|
<styled.div
|
||
|
pb={2}
|
||
|
>
|
||
|
<Styled(styled.div)
|
||
|
alignItems="center"
|
||
|
>
|
||
|
<styled.div
|
||
|
width={0.45454545454545453}
|
||
|
>
|
||
|
<Styled(styled.div)
|
||
|
alignItems="baseline"
|
||
|
flexWrap="wrap"
|
||
|
>
|
||
|
<styled.div>
|
||
|
<Text
|
||
|
fontSize={6}
|
||
|
textAlign="left"
|
||
|
>
|
||
|
<Value
|
||
|
currency="btc"
|
||
|
value={10000}
|
||
|
/>
|
||
|
</Text>
|
||
|
</styled.div>
|
||
|
<WithTheme(Dropdown)
|
||
|
activeKey="btc"
|
||
|
items={
|
||
|
Array [
|
||
|
Object {
|
||
|
"key": "btc",
|
||
|
"name": "BTC",
|
||
|
},
|
||
|
Object {
|
||
|
"key": "bits",
|
||
|
"name": "bits",
|
||
|
},
|
||
|
Object {
|
||
|
"key": "sats",
|
||
|
"name": "satoshis",
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
ml={2}
|
||
|
onChange={[MockFunction]}
|
||
|
/>
|
||
|
</Styled(styled.div)>
|
||
|
<Text
|
||
|
color="gray"
|
||
|
>
|
||
|
≈
|
||
|
<FormattedNumber
|
||
|
currency="USD"
|
||
|
style="currency"
|
||
|
value={0.647778}
|
||
|
/>
|
||
|
</Text>
|
||
|
</styled.div>
|
||
|
<styled.div
|
||
|
width={0.09090909090909091}
|
||
|
>
|
||
|
<Text
|
||
|
color="lightningOrange"
|
||
|
textAlign="center"
|
||
|
>
|
||
|
<SvgBigArrowRight
|
||
|
height="28px"
|
||
|
width="40px"
|
||
|
/>
|
||
|
</Text>
|
||
|
</styled.div>
|
||
|
<styled.div
|
||
|
width={0.45454545454545453}
|
||
|
>
|
||
|
<Text
|
||
|
className="hint--bottom-left"
|
||
|
data-hint="03c856d2dbec7454c48f311031f06bb99e3ca1ab15a9b9b35de14e139aa663b463"
|
||
|
textAlign="right"
|
||
|
>
|
||
|
<Truncate
|
||
|
text="03c856d2dbec7454c48f311031f06bb99e3ca1ab15a9b9b35de14e139aa663b463"
|
||
|
/>
|
||
|
</Text>
|
||
|
</styled.div>
|
||
|
</Styled(styled.div)>
|
||
|
</styled.div>
|
||
|
<Bar />
|
||
|
<PaySummaryRow
|
||
|
left={
|
||
|
<FormattedMessage
|
||
|
defaultMessage="Fee"
|
||
|
id="components.Pay.fee"
|
||
|
values={Object {}}
|
||
|
/>
|
||
|
}
|
||
|
right={
|
||
|
<FormattedMessage
|
||
|
defaultMessage="unknown"
|
||
|
id="components.Pay.unknown"
|
||
|
values={Object {}}
|
||
|
/>
|
||
|
}
|
||
|
/>
|
||
|
<Bar />
|
||
|
<PaySummaryRow
|
||
|
left={
|
||
|
<FormattedMessage
|
||
|
defaultMessage="Total"
|
||
|
id="components.Pay.total"
|
||
|
values={Object {}}
|
||
|
/>
|
||
|
}
|
||
|
right={
|
||
|
<React.Fragment>
|
||
|
<Value
|
||
|
currency="btc"
|
||
|
value={10000}
|
||
|
/>
|
||
|
|
||
|
BTC
|
||
|
</React.Fragment>
|
||
|
}
|
||
|
/>
|
||
|
<Bar />
|
||
|
</Fragment>
|
||
|
`;
|