import React from 'react'; import Tabs from '../Tabs/Tabs.js'; export type HeaderTabsProps = { activeTab: string; onChange: (value: string) => void; tabsConfig: Array<{ storeId: string; label: string }>; }; function HeaderTabs({ tabsConfig, activeTab, onChange }: HeaderTabsProps) { return ( {tabsConfig?.map(({ storeId, label }) => ( {label} ))} ); } export default HeaderTabs;