amis/examples/index.jsx
2019-04-30 11:11:25 +08:00

15 lines
281 B
JavaScript

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