import FieldLabelElement from "../Detail/FieldLabel";
import React from "react";
const InfoCard = (props) => {
    return (React.createElement("div", { onClick: props.onClick, className: `rounded-xl bg-white border border-gray-200 shadow-sm hover:shadow-md transition-shadow duration-200 p-5 ${props.onClick ? "cursor-pointer" : ""} ${props.className || ""}` },
        React.createElement("div", { className: "mb-2" },
            React.createElement(FieldLabelElement, { title: props.title })),
        React.createElement("div", { className: props.textClassName || "text-gray-900" }, props.value)));
};
export default InfoCard;
//# sourceMappingURL=InfoCard.js.map