21 lines
414 B
JavaScript
21 lines
414 B
JavaScript
'use strict';
|
|
|
|
const { TemplateView } = require('hydrogen-view-sdk');
|
|
|
|
const CalendarView = require('matrix-public-archive-shared/CalendarView');
|
|
|
|
class RightPanelContentView extends TemplateView {
|
|
render(t, vm) {
|
|
return t.div(
|
|
{
|
|
className: {
|
|
todo: true,
|
|
},
|
|
},
|
|
[t.view(new CalendarView(vm.calendarViewModel))]
|
|
);
|
|
}
|
|
}
|
|
|
|
module.exports = RightPanelContentView;
|