import e from"../../node_modules/classnames/index.js";import t from"react";import{convertFlexContainerPropsToClassNames as s}from"../utils.js";import a from"./Card.module.scss.js";import r from"../../node_modules/lodash/isNil.js";import{Button as d,Card as l,CardContent as o}from"../../node_modules/@cortexapps/react-plugin-ui/dist/index.js";const i=t.forwardRef(((i,m)=>{const{children:n,border:c=!1,fill:f=!0,selected:u=!1,disabled:p=!1,tight:h=!1,...C}=i,j=!r(C.onClick)||!r(C.href),E=e(a.root,s(i),{"h-100":i.fullHeight,"w-100":i.fullWidth});return j?t.createElement(d,{asChild:!0,size:"card","data-testid":i["data-testid"],variant:"ghost"},t.createElement(l,{...C,className:E,ref:m},t.createElement(o,null,n))):t.createElement(l,{ref:m,"data-testid":i["data-testid"],...C,className:E},t.createElement(o,null,n))}));export{i as default};
//# sourceMappingURL=Card.js.map
