From 555554dfef8d8cbf53b026f54c54477f8d52aa31 Mon Sep 17 00:00:00 2001 From: Melloware Date: Tue, 30 Jan 2024 16:09:17 -0500 Subject: [PATCH] Fix #5834: Sidebar header default warning (#5859) --- components/lib/sidebar/SidebarBase.js | 35 ++++++++++++++------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/components/lib/sidebar/SidebarBase.js b/components/lib/sidebar/SidebarBase.js index 4077f4fd3f..452538ec61 100644 --- a/components/lib/sidebar/SidebarBase.js +++ b/components/lib/sidebar/SidebarBase.js @@ -261,29 +261,30 @@ const inlineStyles = { export const SidebarBase = ComponentBase.extend({ defaultProps: { __TYPE: 'Sidebar', - id: null, - style: null, - className: null, - content: null, - maskStyle: null, - maskClassName: null, - visible: false, - position: 'left', - fullScreen: false, - blockScroll: false, + appendTo: null, + ariaCloseLabel: null, baseZIndex: 0, - dismissable: true, - showCloseIcon: true, + blockScroll: false, + children: undefined, + className: null, closeIcon: null, - ariaCloseLabel: null, closeOnEscape: true, + content: null, + dismissable: true, + fullScreen: false, + header: null, icons: null, + id: null, + maskClassName: null, + maskStyle: null, modal: true, - appendTo: null, - transitionOptions: null, - onShow: null, onHide: null, - children: undefined + onShow: null, + position: 'left', + showCloseIcon: true, + style: null, + transitionOptions: null, + visible: false }, css: { classes,