onInteract?.()}
onDoubleClick={() => {
toggleMaximized();
}}
>
{os === "macOS" ? (
<>
{showCloseButton && (
{}}
/>
)}
{showMinimizeButton && (
)}
{showMaximizeButton && (
)}
{title}
>
) : (
<>
{title}
{showMaximizeButton && (
{isMaximized ? "-" : "□"}
)}
>
)}
{children}