Refactor #3832 Refactor #3833 - For Sidebar

This commit is contained in:
Bahadır Sofuoğlu 2023-04-07 23:36:13 +03:00
parent ea2c8f878d
commit 82fb1e1c65
4 changed files with 22 additions and 5 deletions

View file

@ -52,6 +52,12 @@ const SidebarProps = [
type: 'boolean',
default: 'false',
description: 'Whether background scroll should be blocked when sidebar is visible.'
},
{
name: 'closeIcon',
type: 'string',
default: 'undefined',
description: 'Icon to display in the sidebar close button.'
}
];
@ -63,6 +69,10 @@ const SidebarEvents = [
{
name: 'show',
description: 'Callback to invoke when sidebar gets shown.'
},
{
name: 'closeicon',
description: 'Custom close icon template.'
}
];