diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 08:29:59 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-02 08:29:59 +0800 |
commit | f5623632d86504b4081ff6d102c2f9468e2dfa0d (patch) | |
tree | 0a8fa76c17ea5228ceb63a96608e0d7c67b11235 /packages/instant/src/types.ts | |
parent | a2e1bf0e6287e86c226b0801311f6f4498c893ed (diff) | |
download | dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar.gz dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar.bz2 dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar.lz dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar.xz dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.tar.zst dexon-0x-contracts-f5623632d86504b4081ff6d102c2f9468e2dfa0d.zip |
Have ScalingAmountInput trigger onChange with MaybeBigNumber and keep string value as state
Diffstat (limited to 'packages/instant/src/types.ts')
-rw-r--r-- | packages/instant/src/types.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/instant/src/types.ts b/packages/instant/src/types.ts index 336465e43..e92e96e9a 100644 --- a/packages/instant/src/types.ts +++ b/packages/instant/src/types.ts @@ -1,6 +1,8 @@ import { AssetProxyId, ObjectMap } from '@0x/types'; +import { BigNumber } from '@0x/utils'; // Reusable +export type MaybeBigNumber = BigNumber | undefined; export enum AsyncProcessState { NONE = 'None', PENDING = 'Pending', |