فهرست منبع

📝 docs(components): export component prop types for external use

- export CategoryTabbarProps and TabItem types from CategoryTabbar component
- export CategoryTabbarMoreProps type from CategoryTabbarMore component
yourname 1 ماه پیش
والد
کامیت
2a97529893

+ 1 - 0
mini/src/components/category/CategoryTabbar/index.tsx

@@ -65,4 +65,5 @@ const CategoryTabbar: React.FC<CategoryTabbarProps> = ({
   );
 };
 
+export type { CategoryTabbarProps, TabItem };
 export default CategoryTabbar;

+ 1 - 0
mini/src/components/category/CategoryTabbarMore/index.tsx

@@ -55,4 +55,5 @@ const CategoryTabbarMore: React.FC<CategoryTabbarMoreProps> = ({
   );
 };
 
+export type { CategoryTabbarMoreProps };
 export default CategoryTabbarMore;