WA-232 Passing symbol as a prop in SendToken's review tx component

This commit is contained in:
apanizo 2018-07-05 11:34:02 +02:00
parent fb8c48b6b1
commit c6995ad8fb

View File

@ -12,11 +12,15 @@ type FormProps = {
submitting: boolean, submitting: boolean,
} }
type Props = {
symbol: string
}
const spinnerStyle = { const spinnerStyle = {
minHeight: '50px', minHeight: '50px',
} }
const ReviewTx = (symbol: string) => ({ values, submitting }: FormProps) => ( const ReviewTx = ({ symbol }: Props) => ({ values, submitting }: FormProps) => (
<Block> <Block>
<Heading tag="h2">Review the move token funds</Heading> <Heading tag="h2">Review the move token funds</Heading>
<Paragraph align="left"> <Paragraph align="left">