Converted a significant amount of files from js to ts.
This commit is contained in:
22
modules/menus/calendar/calendar.ts
Normal file
22
modules/menus/calendar/calendar.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
const CalendarWidget = () => {
|
||||
return Widget.Box({
|
||||
class_name: "calendar-menu-item-container calendar",
|
||||
hpack: "fill",
|
||||
vpack: "fill",
|
||||
expand: true,
|
||||
child: Widget.Box({
|
||||
class_name: "calendar-container-box",
|
||||
child: Widget.Calendar({
|
||||
expand: true,
|
||||
hpack: "fill",
|
||||
vpack: "fill",
|
||||
class_name: "calendar-menu-widget",
|
||||
showDayNames: true,
|
||||
showDetails: false,
|
||||
showHeading: true,
|
||||
}),
|
||||
}),
|
||||
});
|
||||
};
|
||||
|
||||
export { CalendarWidget };
|
||||
Reference in New Issue
Block a user