amis2/examples/index.jsx

12 lines
250 B
React
Raw Normal View History

2019-04-30 11:11:25 +08:00
/**
* @file entry of this example.
* @author liaoxuezhi@cloud.com
*/
2019-06-11 17:00:02 +08:00
import React from 'react';
2019-11-07 10:41:14 +08:00
import {render} from 'react-dom';
2019-04-30 11:11:25 +08:00
import App from './components/App';
export function bootstrap(mountTo, initalState) {
2019-11-07 10:41:14 +08:00
render(<App />, mountTo);
2019-04-30 11:11:25 +08:00
}