diff --git a/components/lib/panel/Panel.d.ts b/components/lib/panel/Panel.d.ts index 54cad4b84..d274b53ef 100755 --- a/components/lib/panel/Panel.d.ts +++ b/components/lib/panel/Panel.d.ts @@ -137,7 +137,16 @@ export interface PanelSlots { /** * Custom header template. */ - header(): VNode[]; + header(scope: { + /** + * Current id state as a string + */ + id: boolean; + /** + * Style class of the icon + */ + class: string; + }): VNode[]; /** * Custom icons template. */ diff --git a/components/lib/panel/Panel.vue b/components/lib/panel/Panel.vue index 0e7bd2a5f..721ad43ec 100755 --- a/components/lib/panel/Panel.vue +++ b/components/lib/panel/Panel.vue @@ -1,7 +1,7 @@