From 1b25a6c29ebd7aefc11276e54062d938fde1f29f Mon Sep 17 00:00:00 2001 From: mmv Date: Tue, 30 Apr 2019 17:13:07 +0400 Subject: [PATCH] add recepient input --- .../SendModal/screens/SendFunds/index.jsx | 124 +++++++++++------- 1 file changed, 73 insertions(+), 51 deletions(-) diff --git a/src/routes/safe/components/Balances/SendModal/screens/SendFunds/index.jsx b/src/routes/safe/components/Balances/SendModal/screens/SendFunds/index.jsx index e63ae6c1..06e32887 100644 --- a/src/routes/safe/components/Balances/SendModal/screens/SendFunds/index.jsx +++ b/src/routes/safe/components/Balances/SendModal/screens/SendFunds/index.jsx @@ -10,13 +10,15 @@ import Row from '~/components/layout/Row' import GnoForm from '~/components/forms/GnoForm' import Link from '~/components/layout/Link' import Col from '~/components/layout/Col' - +import Field from '~/components/forms/Field' +import TextField from '~/components/forms/TextField' import Block from '~/components/layout/Block' import Bold from '~/components/layout/Bold' import Hairline from '~/components/layout/Hairline' import { lg, md, sm, secondary, xs, } from '~/theme/variables' +import { composeValidators, required, mustBeEthereumAddress } from '~/components/forms/validator' import { copyToClipboard } from '~/utils/clipboard' import ArrowDown from './assets/arrow-down.svg' @@ -65,56 +67,76 @@ type Props = { const SendFunds = ({ classes, onClose, safeAddress, etherScanLink, safeName, ethBalance, -}: Props) => ( - - - - Send Funds - - - - - - - - - - - - - - {safeName} - - - {safeAddress} - - - - - - - Balance: - {' '} - - {ethBalance} - {' '} -ETH - +}: Props) => { + const handleSubmit = () => {} + + return ( + + + + Send Funds + + + + + + + + + + + + + + {safeName} - - - - - - Arrow Down - - - - - - {() => } - - -) + + {safeAddress} + + + + + + + Balance: + {' '} + + {ethBalance} + {' '} + ETH + + + + + + + + Arrow Down + + + + + + + {() => ( + + + + + + )} + + + + ) +} export default withStyles(styles)(SendFunds)