aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs-example/ts/index.tsx
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
committerFabio Berger <me@fabioberger.com>2018-03-09 18:00:47 +0800
commitcc73f72d130ed91f74dbe378cc68e834850898f4 (patch)
tree70113a2be495bf8b050dd9cd8176b184eed4e25b /packages/react-docs-example/ts/index.tsx
parente4f90996af5972c09e80f31f66abc3fcb2c2e99c (diff)
downloaddexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.gz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.bz2
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.lz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.xz
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.tar.zst
dexon-sol-tools-cc73f72d130ed91f74dbe378cc68e834850898f4.zip
remove example top-level dir
Diffstat (limited to 'packages/react-docs-example/ts/index.tsx')
-rw-r--r--packages/react-docs-example/ts/index.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/react-docs-example/ts/index.tsx b/packages/react-docs-example/ts/index.tsx
new file mode 100644
index 000000000..84a544766
--- /dev/null
+++ b/packages/react-docs-example/ts/index.tsx
@@ -0,0 +1,17 @@
+import 'basscss/css/basscss.css';
+import 'less/all.less';
+import { MuiThemeProvider } from 'material-ui/styles';
+import * as React from 'react';
+import { render } from 'react-dom';
+import * as injectTapEventPlugin from 'react-tap-event-plugin';
+
+import { Docs } from './docs';
+
+injectTapEventPlugin();
+
+render(
+ <MuiThemeProvider>
+ <Docs />
+ </MuiThemeProvider>,
+ document.getElementById('app'),
+);