Files
colorshell/ags/widget/Calendar.ts
T
2025-02-28 10:21:37 -03:00

24 lines
492 B
TypeScript

//TODO Needs more work
import { Gtk, Widget } from "astal/gtk3";
type CalendarProps = Pick<Widget.BoxProps,
"name"
| "className"
| "css"
| "expand"
| "halign"
| "valign"> & {
showWeekDays: boolean;
showHeader: boolean;
fillGrid: boolean; // I need a better name for this LMAOOO
};
export function Calendar(props?: Partial<CalendarProps>): Gtk.Widget {
return new Widget.Box({
...props,
children: []
} as Widget.BoxProps);
}