// import { useEffect, useCallback, useContext, useComponent, useState } from "../src/hooks";
import "./Async.less";
// import { withI18n, FormatMessage, withRouter } from "../src/widget";
// const WithContextAsyncApp = ({ location }) => {
// useComponent("FormatMessage", FormatMessage);
// return `
//
//
//
`;
// };
// const MyAsyncApp = withRouter()(withI18n({
// i18n: {
// "en-GB": {
// asyncApp: "This is Async App"
// },
// "zh-CN": {
// asyncApp: "这是一个异步组件"
// }
// }
// })(WithContextAsyncApp));
export default (props) => {
// useComponent("DefectApp", MyAsyncApp);
console.log("----", props);
return "Hello elmer{{props.test}}
";
}