mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
2 lines
627 B
JavaScript
2 lines
627 B
JavaScript
import{c}from"./use-translate.d2900b8c.js";import{t as s,w as m}from"./with-install.19a35764.js";import{b as u}from"./constant.80c6de18.js";import{z as d,e as r,A as p,F as f}from"./vue-libs.b44bc779.js";const[G,a]=c("cell-group"),b={title:String,inset:Boolean,border:s},g=d({name:G,inheritAttrs:!1,props:b,setup(e,{slots:t,attrs:o}){const n=()=>{var i;return r("div",p({class:[a({inset:e.inset}),{[u]:e.border&&!e.inset}]},o),[(i=t.default)==null?void 0:i.call(t)])},l=()=>r("div",{class:a("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?r(f,null,[l(),n()]):n()}}),C=m(g),B=C;export{B as V};
|