Refactor #5257 - For Panel

pull/5262/head
mertsincan 2024-02-10 00:19:47 +00:00
parent e40c2e7c9c
commit a9164bdbde
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<div :class="cx('root')" v-bind="ptm('root')">
<div :class="cx('root')" v-bind="ptmi('root')">
<div :class="cx('header')" v-bind="ptm('header')">
<slot :id="id + '_header'" name="header" :class="cx('title')">
<span v-if="header" :id="id + '_header'" :class="cx('title')" v-bind="ptm('title')">{{ header }}</span>
@ -49,6 +49,7 @@ import BasePanel from './BasePanel.vue';
export default {
name: 'Panel',
extends: BasePanel,
inheritAttrs: false,
emits: ['update:collapsed', 'toggle'],
data() {
return {