WA-238 Withdrawn Review component
This commit is contained in:
parent
8d3bfa8d2a
commit
b472142536
|
@ -0,0 +1,25 @@
|
||||||
|
// @flow
|
||||||
|
import * as React from 'react'
|
||||||
|
import Block from '~/components/layout/Block'
|
||||||
|
import Bold from '~/components/layout/Bold'
|
||||||
|
import Heading from '~/components/layout/Heading'
|
||||||
|
import Paragraph from '~/components/layout/Paragraph'
|
||||||
|
import { DESTINATION_PARAM, VALUE_PARAM } from './withdrawn'
|
||||||
|
|
||||||
|
type FormProps = {
|
||||||
|
values: Object,
|
||||||
|
}
|
||||||
|
|
||||||
|
const Review = () => ({ values }: FormProps) => (
|
||||||
|
<Block>
|
||||||
|
<Heading tag="h2">Review the Withdrawn Operation</Heading>
|
||||||
|
<Paragraph>
|
||||||
|
<Bold>Destination: </Bold> {values[DESTINATION_PARAM]}
|
||||||
|
</Paragraph>
|
||||||
|
<Paragraph>
|
||||||
|
<Bold>Value in ETH: </Bold> {values[VALUE_PARAM]}
|
||||||
|
</Paragraph>
|
||||||
|
</Block>
|
||||||
|
)
|
||||||
|
|
||||||
|
export default Review
|
Loading…
Reference in New Issue