amis2/examples/index.jsx
2019-06-11 17:00:02 +08:00

15 lines
276 B
JavaScript

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