import type { Binding } from "astal"; import { Gtk } from "astal/gtk3"; import PopupWindow from "./popupwindow"; export default ({ name, count, headerButtons, emptyIcon, emptyLabel, list, }: { name: string; count: Binding; headerButtons: { label: string; onClicked: () => void; className?: Binding }[]; emptyIcon: string; emptyLabel: string; list: JSX.Element; }) => (