primevue
Version:
[](https://opensource.org/licenses/MIT) [](https://badge.fury.io/js/primevue) [ • 927 B
JavaScript
import t from"primevue/basecomponent";import{openBlock as e,createElementBlock as s,mergeProps as o,renderSlot as r,createCommentVNode as l,createElementVNode as a}from"vue";var d={name:"Card",extends:t};d.render=function(t,d,p,c,i,n){return e(),s("div",o({class:"p-card p-component"},t.ptm("root")),[t.$slots.header?(e(),s("div",o({key:0,class:"p-card-header"},t.ptm("header")),[r(t.$slots,"header")],16)):l("",!0),a("div",o({class:"p-card-body"},t.ptm("body")),[t.$slots.title?(e(),s("div",o({key:0,class:"p-card-title"},t.ptm("title")),[r(t.$slots,"title")],16)):l("",!0),t.$slots.subtitle?(e(),s("div",o({key:1,class:"p-card-subtitle"},t.ptm("subtitle")),[r(t.$slots,"subtitle")],16)):l("",!0),a("div",o({class:"p-card-content"},t.ptm("content")),[r(t.$slots,"content")],16),t.$slots.footer?(e(),s("div",o({key:2,class:"p-card-footer"},t.ptm("footer")),[r(t.$slots,"footer")],16)):l("",!0)],16)],16)};export{d as default};