arnaucube
arnaucube/reciprokaPublic Self-hosted repository
reciproka/wallet/src/views/newtx/newtx.js
wallet/src/views/newtx/newtx.jsRaw
 1import React, { Component } from 'react';
 2
 3// import {card, tx} from '../../kit/lib'
 4import { Card, Button, Timeline, Row, Col, List, Icon,
 5          Form, Input, InputNumber, Checkbox } from 'antd';
 6import 'antd/dist/antd.css';
 7const FormItem = Form.Item;
 8
 9
10
11class newtx extends Component {
12  constructor(props) {
13    super(props);
14    this.state = {
15      receiver: '',
16      value: 0
17    };
18
19  }
20  render() {
21    const { receiver, value } = this.state;
22    return (
23      <div>
24        <Row gutter={16}>
25          <Col span={12}>
26            <Card title="New transaction">
27              <Input
28                placeholder="address"
29                prefix={<Icon type="qrcode" style={{ color: 'rgba(0,0,0,.25)' }} />}
30                style={{ width: 200 }}
31              />
32              <br/><br/>
33              <InputNumber
34                min={0}
35                defaultValue={0}
36                style={{marginRight: 10}} />
37
38              <Button type="primary" icon="check">Send</Button>
39            </Card>
40          </Col>
41        </Row>
42
43      </div>
44    );
45  }
46}
47
48export default newtx;