diff --git a/src/components/ui/window-controls.tsx b/src/components/ui/window-controls.tsx index 7e1bcaac..2db3a8ac 100644 --- a/src/components/ui/window-controls.tsx +++ b/src/components/ui/window-controls.tsx @@ -1,19 +1,29 @@ -/* eslint-disable react/prop-types */ -/* eslint-disable react/button-has-type */ /* eslint-disable jsx-a11y/control-has-associated-label */ -/* eslint-disable react/react-in-jsx-scope */ +import React from 'react' import { X, Maximize2 } from 'lucide-react' -const WindowControls: React.FC<{ +interface WindowControlsProps { onClose: () => void onMaximize: () => void -}> = ({ onClose, onMaximize }) => ( +} + +const WindowControls = ({ onClose, onMaximize }: WindowControlsProps) => (