diff --git a/components/lib/sidebar/Sidebar.d.ts b/components/lib/sidebar/Sidebar.d.ts index 46fc73530..1c64ee741 100755 --- a/components/lib/sidebar/Sidebar.d.ts +++ b/components/lib/sidebar/Sidebar.d.ts @@ -161,8 +161,14 @@ export interface SidebarSlots { header(): VNode[]; /** * Custom close icon template. + * @param {Object} scope - close icon slot's params. */ - closeicon(): VNode[]; + closeicon(scope: { + /** + * Style class of the close icon + */ + class: any; + }): VNode[]; } /** diff --git a/components/lib/sidebar/Sidebar.vue b/components/lib/sidebar/Sidebar.vue index ec3d1e2b3..4fb3874f1 100755 --- a/components/lib/sidebar/Sidebar.vue +++ b/components/lib/sidebar/Sidebar.vue @@ -8,7 +8,7 @@