diff --git a/src/components/studio/right-panel-close-button.tsx b/src/components/studio/right-panel-close-button.tsx index d38999fd..b11c71cf 100644 --- a/src/components/studio/right-panel-close-button.tsx +++ b/src/components/studio/right-panel-close-button.tsx @@ -2,10 +2,17 @@ import { X } from 'lucide-react' export const CLOSE_PANEL_LABEL = 'Close panel' -export const PanelCloseButton = ({ onClose }: { onClose: () => void }) => ( +export const PanelCloseButton = ({ + onClose, + title = CLOSE_PANEL_LABEL, +}: { + onClose: () => void + title?: string +}) => (