import { ReactNode, useState } from "react"; import "./ContentCard.css"; import { SkeletonContext, SkeletonImage } from "../../index"; import { getCN, usePadding, onLoad, onSkeleton } from "../utils"; import ButtonTouch from "../ButtonTouch/ButtonTouch"; function ContentCard({ children, src, text, description, mode = `default`, //mushroom, default animation = true, maxHeight = 150, onClick, ...props }: { [x: string]: any; }) { var global = false; if (text) global = true; if (description) global = true; return (