import React, { ReactNode } from "react"; import "./CeilCard.scss"; export interface MtCeilCardLinkType { src?: string; target?: string; stopPre?: boolean; } export interface MtCeilCardItemType { /** 链接属性 */ link?: MtCeilCardLinkType; /** title 上边部分*/ title?: ReactNode; /** titleIcon 上边图标部分*/ titleIcon?: string; /** content 下边部分*/ content?: ReactNode; /** contentIcon 下边图标部分*/ contentIcon?: string; } export interface MtCeilCardProps { children?: React.ReactNode; /** 自定义list class */ listClass?: string | (() => string); /** header title */ header?: ReactNode; /** header desc */ headerDesc?: ReactNode; /** header class */ headerClass?: string | (() => string) | null; /** list 列表数据 */ items?: MtCeilCardItemType[]; /** title hover 效果*/ titleHoverAnimation?: boolean; /** item点击事件 */ onClickItem?: ((item: MtCeilCardItemType) => void) | null; } declare const MtCeilCard: React.FC; export default MtCeilCard;