import React, { type ComponentPropsWithRef, type FC } from 'react'; import { MacOSWindowController } from './macos/MacOSWindowController'; import { useWindowTheme } from './useWindowTheme'; import { WindowsWindowController } from './windows/WindowsWindowController'; export const WindowController: FC<{ close?: ComponentPropsWithRef<'button'> & Record; minimize?: ComponentPropsWithRef<'button'> & Record; maximize?: ComponentPropsWithRef<'button'> & Record; }> = (props) => { let theme = useWindowTheme(); if (theme === 'macos') { return ; } return ; };