@rock10/ui 1.0.8 → 1.0.9

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.
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ export interface TabItem {
4
+ id: string;
5
+ label: string;
6
+ icon?: ReactNode;
7
+ }
8
+ export interface TabsProps {
9
+ tabs: TabItem[];
10
+ activeTab: string;
11
+ onChange: (id: string) => void;
12
+ className?: string;
13
+ }
14
+ export declare function Tabs({ tabs, activeTab, onChange, className }: TabsProps): import("react").JSX.Element;
15
+ export default Tabs;
package/dist/index.d.ts CHANGED
@@ -9,3 +9,4 @@ export { DatePicker, type DatePickerProps } from './components/DatePicker';
9
9
  export { DateSelector, type DateSelectorProps } from './components/DateSelector';
10
10
  export { LikeButton, type LikeButtonProps } from './components/LikeButton';
11
11
  export { DownloadButton, type DownloadButtonProps } from './components/DownloadButton';
12
+ export { Tabs, type TabsProps, type TabItem } from './components/Tabs';