mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
18 lines
532 B
JavaScript
18 lines
532 B
JavaScript
// Root React Component for the Corporation UI
|
|
import React from "react";
|
|
import { BaseReactComponent } from "./BaseReactComponent";
|
|
|
|
import { HeaderTabs } from "./HeaderTabs";
|
|
import { MainPanel } from "./MainPanel";
|
|
|
|
export class CorporationRoot extends BaseReactComponent {
|
|
render() {
|
|
return (
|
|
<div>
|
|
<HeaderTabs corp={this.props.corp} eventHandler={this.props.eventHandler} routing={this.props.routing} />
|
|
<MainPanel {...this.props} />
|
|
</div>
|
|
)
|
|
}
|
|
}
|