import type { DevHostPanelEntry } from '../types.js'; import { ToggleGroup } from './ui/ToggleGroup.js'; type PanelTabsProps = { panels: DevHostPanelEntry[]; activeSource: string; onValueChange: (value: string) => void; }; export const PanelTabs = ({ panels, activeSource, onValueChange }: PanelTabsProps) => { return ( ({ key: panel.source, label: panel.label, }))} /> ); };