amis2/examples/index.jsx

13 lines
278 B
JavaScript

/**
* @file entry of this example.
* @author liaoxuezhi@cloud.com
*/
import './polyfills/index';
import React from 'react';
import {render} from 'react-dom';
import App from './components/App';
export function bootstrap(mountTo, initalState) {
render(<App />, mountTo);
}