matrix-public-archive/shared/RightPanelContentView.js

19 lines
414 B
JavaScript
Raw Normal View History

2022-02-10 01:21:49 -07:00
const { TemplateView } = require('hydrogen-view-sdk');
2022-02-14 20:11:55 -07:00
const CalendarView = require('matrix-public-archive-shared/CalendarView');
2022-02-10 01:21:49 -07:00
class RightPanelContentView extends TemplateView {
render(t, vm) {
return t.div(
{
className: {
todo: true,
},
},
2022-02-14 20:11:55 -07:00
[t.div('test'), t.view(new CalendarView(vm.calendarViewModel))]
2022-02-10 01:21:49 -07:00
);
}
}
module.exports = RightPanelContentView;