diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 12:30:45 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-11-08 12:30:45 +0800 |
commit | c0d8ceca82a91a3a6c222e71ecb58f2cd95da62e (patch) | |
tree | b23979fe0389a2644ea9ada3a6b195c38a4e6147 /packages/instant/src/components/payment_method.tsx | |
parent | 95b2898b9c0898c7e2d98ee603bff0604bf2a829 (diff) | |
download | dexon-0x-contracts-c0d8ceca82a91a3a6c222e71ecb58f2cd95da62e.tar.gz dexon-0x-contracts-c0d8ceca82a91a3a6c222e71ecb58f2cd95da62e.tar.zst dexon-0x-contracts-c0d8ceca82a91a3a6c222e71ecb58f2cd95da62e.zip |
feat: implement basic dropdown component
Diffstat (limited to 'packages/instant/src/components/payment_method.tsx')
-rw-r--r-- | packages/instant/src/components/payment_method.tsx | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/instant/src/components/payment_method.tsx b/packages/instant/src/components/payment_method.tsx new file mode 100644 index 000000000..125b54bad --- /dev/null +++ b/packages/instant/src/components/payment_method.tsx @@ -0,0 +1,31 @@ +import * as _ from 'lodash'; +import * as React from 'react'; + +import { ColorOption } from '../style/theme'; + +import { Container } from './ui/container'; +import { Dropdown } from './ui/dropdown'; +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"> + <Text + letterSpacing="1px" + fontColor={ColorOption.primaryColor} + fontWeight={600} + textTransform="uppercase" + fontSize="14px" + > + Payment Method + </Text> + </Container> + <Dropdown value="0x00000000000000" label="25.33 ETH" /> + </Container> + ); + } +} |