mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
17 lines
335 B
JavaScript
17 lines
335 B
JavaScript
import Page from './Page';
|
|
import StatusWidget from './StatusWidget';
|
|
|
|
export default class DashboardPage extends Page {
|
|
view() {
|
|
return (
|
|
<div className="DashboardPage">
|
|
<div className="container">{this.availableWidgets()}</div>
|
|
</div>
|
|
);
|
|
}
|
|
|
|
availableWidgets() {
|
|
return [<StatusWidget />];
|
|
}
|
|
}
|