import { css } from 'solid-styled-components'; import { Show } from 'solid-js'; import { IconButton } from './IconButton'; import { cache } from '@/providers/decorators'; const containerStyle = cache(() => css` display: flex; justify-content: flex-end; align-items: center; & > *:last-of-type { border-top-right-radius: 4px; &:hover { background: rgba(255, 0, 0, 0.5); } } `); export type WindowControllerProps = { isMaximize?: boolean; onToggleMaximize?: () => void; onMinimize?: () => void; onClose?: () => void; } export const WindowController = (props: WindowControllerProps) => { return (
} >
); };