import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// import { Button, Link } from '@websolutespa/bom-mixer-ui';
import style from './text-card.module.scss';
export const TextCard = (props)=>{
    const { item } = props;
    return /*#__PURE__*/ _jsx("article", {
        className: style.textCard,
        children: /*#__PURE__*/ _jsxs("div", {
            className: style.textCardContent,
            children: [
                /*#__PURE__*/ _jsxs("div", {
                    className: style.textCardWrapper,
                    children: [
                        item.title && /*#__PURE__*/ _jsx("h3", {
                            className: "-llm-em-heading2",
                            children: item.title
                        }),
                        item.abstract && /*#__PURE__*/ _jsx("div", {
                            className: "-llm-em-body2",
                            dangerouslySetInnerHTML: {
                                __html: item.abstract
                            }
                        })
                    ]
                }),
                item.nav && /*#__PURE__*/ _jsx("a", {
                    href: item.nav.url,
                    target: "_blank",
                    className: "llm-button",
                    rel: "noreferrer",
                    children: item.nav.title
                })
            ]
        })
    });
};

//# sourceMappingURL=text-card.js.map