aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-09-28 19:09:16 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-09-28 19:09:16 +0800
commit2471e1034664c348cb9fa4646b306f48c44572ec (patch)
treedeae8e9a3f911784eb611b91525b2030d114c08b /packages/instant/src
parenta737cfa004ee1dc18be935f61fb9c289ed5623fd (diff)
downloaddexon-0x-contracts-2471e1034664c348cb9fa4646b306f48c44572ec.tar.gz
dexon-0x-contracts-2471e1034664c348cb9fa4646b306f48c44572ec.tar.zst
dexon-0x-contracts-2471e1034664c348cb9fa4646b306f48c44572ec.zip
Have React setup with basic build working
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/components/zero_ex_instant.tsx5
-rw-r--r--packages/instant/src/globals.d.ts6
-rw-r--r--packages/instant/src/index.ts1
3 files changed, 12 insertions, 0 deletions
diff --git a/packages/instant/src/components/zero_ex_instant.tsx b/packages/instant/src/components/zero_ex_instant.tsx
new file mode 100644
index 000000000..67e1b683d
--- /dev/null
+++ b/packages/instant/src/components/zero_ex_instant.tsx
@@ -0,0 +1,5 @@
+import * as React from 'react';
+
+export interface ZeroExInstantProps {}
+
+export const ZeroExInstant: React.StatelessComponent<ZeroExInstantProps> = () => <div>ZeroExInstant</div>;
diff --git a/packages/instant/src/globals.d.ts b/packages/instant/src/globals.d.ts
new file mode 100644
index 000000000..94e63a32d
--- /dev/null
+++ b/packages/instant/src/globals.d.ts
@@ -0,0 +1,6 @@
+declare module '*.json' {
+ const json: any;
+ /* tslint:disable */
+ export default json;
+ /* tslint:enable */
+}
diff --git a/packages/instant/src/index.ts b/packages/instant/src/index.ts
new file mode 100644
index 000000000..345246d09
--- /dev/null
+++ b/packages/instant/src/index.ts
@@ -0,0 +1 @@
+export { ZeroExInstant } from './components/zero_ex_instant';