amis/examples/index.jsx

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
);
}