import React from 'react'; import type { Img } from '../../types/props.js'; export interface CategoryItem { /** 产品图片*/ image: Img; name: string; link?: string; } export interface CategoryProps extends React.HTMLAttributes { /** 主题色*/ data: { isShowSelect: boolean; products: CategoryItem[]; productData: CategoryItem[]; /** 卡片形状 */ shape?: 'round' | 'square'; title?: string; theme?: 'light' | 'dark'; }; buildData?: { categories: any[]; products: any[]; }; /** 按钮事件*/ event?: { primaryButton?: (_v: any, _index: number) => void; }; key?: string; } declare const _default: any; export default _default;