aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/payment_method.tsx
blob: 70ad1f96ec2f35f7c63cb7f712a4879e27ea4b50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import * as _ from 'lodash';
import * as React from 'react';

import { ColorOption } from '../style/theme';

import { PaymentMethodDropdown } from './payment_method_dropdown';
import { Circle } from './ui/circle';
import { Container } from './ui/container';
import { Flex } from './ui/flex';
import { Text } from './ui/text';

export interface PaymentMethodProps {}

export class PaymentMethod extends React.Component<PaymentMethodProps> {
    public render(): React.ReactNode {
        return (
            <Container padding="20px" width="100%">
                <Container marginBottom="10px">
                    <Flex justify="space-between">
                        <Text
                            letterSpacing="1px"
                            fontColor={ColorOption.primaryColor}
                            fontWeight={600}
                            textTransform="uppercase"
                            fontSize="14px"
                        >
                            Payment Method
                        </Text>
                        <Flex>
                            <Circle color={ColorOption.green} diameter={8} />
                            <Container marginLeft="3px">
                                <Text fontColor={ColorOption.darkGrey} fontSize="12px">
                                    MetaMask
                                </Text>
                            </Container>
                        </Flex>
                    </Flex>
                </Container>
                <PaymentMethodDropdown />
            </Container>
        );
    }
}