aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_container.tsx
blob: fc936c3f249b8b6d0f475f1af6510d94a3d92d82 (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
import * as React from 'react';

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

import { Container, Flex, Text } from './ui';

export interface ZeroExInstantContainerProps {}

export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantContainerProps> = props => (
    <Container width="350px" borderRadius="3px">
        <Flex direction="column">
            <Container backgroundColor={ColorOption.primaryColor} padding="20px">
                <Text
                    letterSpacing="1px"
                    fontColor={ColorOption.white}
                    opacity={0.7}
                    fontWeight={600}
                    textTransform="uppercase"
                >
                    I want to buy
                </Text>
                <Flex direction="row" justify="space-between">
                    <Container>
                        <Text textTransform="uppercase">0.00</Text>
                        <Text textTransform="uppercase"> rep </Text>
                    </Container>
                    <Flex direction="column">
                        <Text> 0 ETH </Text>
                        <Text> $0.00 </Text>
                    </Flex>
                </Flex>
            </Container>
            <Container padding="20px" backgroundColor={ColorOption.white}>
                <Text>hey</Text>
            </Container>
        </Flex>
    </Container>
);