2018-02-17 23:32:26 +03:00

9 lines
239 B
JavaScript

import ReactDOM from 'react-dom';
import { document } from 'global';
import decorator from '../src';
const content = decorator(() => 'Hello World!');
const wrapper = document.querySelector('#content');
ReactDOM.render(content, wrapper);