@up42/up-components 0.10.3 → 0.10.4

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.
@@ -17,9 +17,13 @@ export declare type TabGroupProps = {
17
17
  * Set defaultValue for routing to a specific tab using useQueryParam('tab') in parent component
18
18
  */
19
19
  defaultValue?: string | number;
20
+ /**
21
+ * An optional event to be called when additional action is needed when changing tab
22
+ */
23
+ onChange?: () => void;
20
24
  };
21
25
  /**
22
26
  * Documentation: https://up-components.up42.dev/?path=/docs/patterns-tabgroup
23
27
  */
24
- export declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue }: TabGroupProps) => JSX.Element;
28
+ export declare const TabGroup: ({ tabs, nameSpace: _nameSpace, tabContentProps, tabsProps, defaultValue, onChange, }: TabGroupProps) => JSX.Element;
25
29
  export {};