aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/index.umd.ts
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 23:46:58 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-24 23:46:58 +0800
commit38f47a380b663df0a3f817100650e222dd7582e0 (patch)
tree23348daa23207b840b93335bfb823d451053ab53 /packages/instant/src/index.umd.ts
parent4c4286ac662d3dba928bf16b83ade5e5476f4614 (diff)
parent8635f8d7325d472dd7d4fac26f1a87bee17edd1a (diff)
downloaddexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar.gz
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar.bz2
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar.lz
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar.xz
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.tar.zst
dexon-sol-tools-38f47a380b663df0a3f817100650e222dd7582e0.zip
Merge branch 'development' into feature/instant/processing-state
Diffstat (limited to 'packages/instant/src/index.umd.ts')
-rw-r--r--packages/instant/src/index.umd.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/index.umd.ts b/packages/instant/src/index.umd.ts
index fe78ce401..f648b37f2 100644
--- a/packages/instant/src/index.umd.ts
+++ b/packages/instant/src/index.umd.ts
@@ -1,8 +1,9 @@
import * as React from 'react';
import * as ReactDOM from 'react-dom';
+import { DEFAULT_ZERO_EX_CONTAINER_SELECTOR } from './constants';
import { ZeroExInstant, ZeroExInstantProps } from './index';
-export const render = (props: ZeroExInstantProps, selector: string = '#zeroExInstantContainer') => {
+export const render = (props: ZeroExInstantProps, selector: string = DEFAULT_ZERO_EX_CONTAINER_SELECTOR) => {
ReactDOM.render(React.createElement(ZeroExInstant, props), document.querySelector(selector));
};