import React from 'react'; import type { ContainerProps, Theme } from '../../types/props.js'; import type { Img } from '../../types/props.js'; export interface EvaluateItem { /** 产品图片*/ img: Img; title: string; subTitle: string; description: string; avatar?: { url: string; }; rating: number; link?: string; } export interface EvaluateProps extends React.HTMLAttributes { data: { title?: string; products: EvaluateItem[]; /** 形状 */ shape?: 'round' | 'square'; /** 主题色*/ theme?: Theme; containerProps?: ContainerProps; }; /** 按钮事件*/ event?: { primaryButton?: (_v: any, _index: number) => void; }; key?: string; } declare const _default: any; export default _default;