import { useState } from 'react'; import { useAppStore, type LeftPanelTab } from '../../store/appStore'; import StaticBrowser from '../asset/StaticBrowser'; import ScriptTree from '../script/ScriptTree'; import GumpBrowser from '../gump/GumpBrowser'; import styles from './LeftPanel.module.css'; const TABS: { id: LeftPanelTab; label: string }[] = [ { id: 'scripts', label: 'Scripts' }, { id: 'statics', label: 'Statics' }, { id: 'mobiles', label: 'Mobiles' }, { id: 'gumps', label: 'Gumps' }, ]; export default function LeftPanel() { const { activeTab, setActiveTab } = useAppStore(); const [search, setSearch] = useState(''); return (