mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
21 lines
329 B
JavaScript
21 lines
329 B
JavaScript
import { use } from '../utils';
|
|
|
|
const [sfc, bem] = use('cell-group');
|
|
|
|
export default sfc({
|
|
props: {
|
|
border: {
|
|
type: Boolean,
|
|
default: true
|
|
}
|
|
},
|
|
|
|
render(h) {
|
|
return (
|
|
<div class={[bem(), { 'van-hairline--top-bottom': this.border }]}>
|
|
{this.$slots.default}
|
|
</div>
|
|
);
|
|
}
|
|
});
|