mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 03:57:04 +00:00
WA-238 Withdrawn Review component
This commit is contained in:
parent
8d3bfa8d2a
commit
b472142536
25
src/routes/safe/component/Withdrawn/Review.jsx
Normal file
25
src/routes/safe/component/Withdrawn/Review.jsx
Normal file
@ -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…
x
Reference in New Issue
Block a user