aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/payment_method.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-09 07:39:30 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-09 07:39:30 +0800
commit6a84877f9aab63db1c493d1a3d73d06e65735a78 (patch)
treef997069ff2acd9dd5a75bee3d36c9a6b1cf95a23 /packages/instant/src/components/payment_method.tsx
parentb074fe2de57b07ffd9d1da373cfb0828ff8a9d5b (diff)
downloaddexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar.gz
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar.bz2
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar.lz
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar.xz
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.tar.zst
dexon-sol-tools-6a84877f9aab63db1c493d1a3d73d06e65735a78.zip
fix: remove default props, fix lint problems
Diffstat (limited to 'packages/instant/src/components/payment_method.tsx')
-rw-r--r--packages/instant/src/components/payment_method.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/instant/src/components/payment_method.tsx b/packages/instant/src/components/payment_method.tsx
index 491a0bd45..a96c6297c 100644
--- a/packages/instant/src/components/payment_method.tsx
+++ b/packages/instant/src/components/payment_method.tsx
@@ -1,7 +1,9 @@
+import { BigNumber } from '@0x/utils';
import * as _ from 'lodash';
import * as React from 'react';
import { ColorOption } from '../style/theme';
+import { Network } from '../types';
import { PaymentMethodDropdown } from './payment_method_dropdown';
import { Circle } from './ui/circle';
@@ -34,6 +36,10 @@ export const PaymentMethod: React.StatelessComponent<PaymentMethodProps> = () =>
</Flex>
</Flex>
</Container>
- <PaymentMethodDropdown />
+ <PaymentMethodDropdown
+ selectedEthAddress="0xa1b2c3d4e5f6g7h8j9k10"
+ addressEthBaseAmount={new BigNumber(10500000000000000000)}
+ network={Network.Mainnet}
+ />
</Container>
);