diff --git a/src/App.tsx b/src/App.tsx index 918dd23..0b6f981 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -943,7 +943,9 @@ function App() { } ${ hasWindowChrome ? 'app-shell--window-chrome' : '' }`}> - {usesCustomWindowControls && } + {usesCustomWindowControls && ( + + )}
) => { event.stopPropagation(); }; -export function WindowControls() { +interface WindowControlsProps { + side: 'left' | 'right'; +} + +export function WindowControls({ side }: WindowControlsProps) { const { t } = useTranslation(); return ( -
$.window.controls)}> +
$.window.controls)} + >