26 lines
815 B
JavaScript
26 lines
815 B
JavaScript
import { i18n } from 'arm-common';
|
|
import { ApplicationContainer, MasterPageContainer, PageBody, PageContainer, PageHeader, PageHeaderContainer, TopBarRouting } from "arm-core-layouts";
|
|
import ArmGuiDemo from 'arm-gui/dist/demo/js/ui/Demo.jsx';
|
|
import React, { PureComponent } from 'react';
|
|
|
|
|
|
const selectorName = 'stub-test-master-page';
|
|
|
|
export default class TestMasterPage extends PureComponent {
|
|
constructor(props) {
|
|
super(props);
|
|
this.state = {
|
|
menuInfo: [
|
|
{ pathKey: 'arm-gui', pageTitle: i18n('STUB.AGUI', 'arm-gui'), Component: ArmGuiDemo },
|
|
]
|
|
}
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<ApplicationContainer>
|
|
<TopBarRouting menuInfo={this.state.menuInfo} />
|
|
</ApplicationContainer>
|
|
);
|
|
}
|
|
} |