import e from"../../node_modules/classnames/index.js";import r from"react";import l from"../Clickable/Clickable.js";import{convertFlexContainerPropsToClassNames as t}from"../utils.js";import o from"./Card.module.scss.js";import s from"../../node_modules/lodash/isNil.js";const d=r.forwardRef(((d,i)=>{const{children:a,border:m=!1,fill:f=!0,selected:c=!1,disabled:n=!1,...h}=d,b=!s(h.onClick)||!s(h.href),p=e(o.root,"p-3",t(d),{"bg-gray-lighter":f,"border-gray-light":m,"h-100":d.fullHeight,"w-100":d.fullWidth,[o.selected]:c,[o.disabled]:n,[o.hoverable]:b}),u=r.createElement("div",{className:p,"data-testid":d["data-testid"],ref:b?void 0:i},a);return b?r.createElement(l,{...h,ref:i},u):u}));export{d as default};
//# sourceMappingURL=Card.js.map
