@worldresources/wri-design-systems 2.141.0 → 2.141.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -643,7 +643,7 @@ type MobileTabBarItemProps = Omit<Tabs.TriggerProps, 'asChild'> & {
643
643
  type MobileTabBarProps = {
644
644
  defaultValue?: string;
645
645
  tabs: MobileTabBarItemProps[];
646
- onTabClick?: (tabLabel: string) => void;
646
+ onTabClick?: (tabValue: string) => void;
647
647
  };
648
648
 
649
649
  declare const MobileTabBar: ({ defaultValue, tabs, onTabClick, }: MobileTabBarProps) => _emotion_react_jsx_runtime.JSX.Element;
@@ -710,7 +710,7 @@ type TabBarProps = {
710
710
  variant?: 'panel' | 'view';
711
711
  defaultValue?: string;
712
712
  tabs: TabBarItemProps[];
713
- onTabClick?: (tabLabel: string) => void;
713
+ onTabClick?: (tabValue: string) => void;
714
714
  };
715
715
 
716
716
  declare const TabBar: ({ variant, defaultValue, tabs, onTabClick, }: TabBarProps) => _emotion_react_jsx_runtime.JSX.Element;