From 4734254447cb283a719364063f2f4feea8aba813 Mon Sep 17 00:00:00 2001 From: Marek Libra Date: Wed, 17 Jan 2024 17:16:19 +0100 Subject: [PATCH] chore: sidebar item can be provided with a className --- .../notifications/src/components/NotificationsSidebarItem.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/notifications/src/components/NotificationsSidebarItem.tsx b/plugins/notifications/src/components/NotificationsSidebarItem.tsx index 1c0fc5d38b..d777255ced 100644 --- a/plugins/notifications/src/components/NotificationsSidebarItem.tsx +++ b/plugins/notifications/src/components/NotificationsSidebarItem.tsx @@ -32,6 +32,7 @@ export type NotificationsSidebarItemProps = { * Example: 5000 */ pollingInterval?: number; + className?: string; }; const useStyles = makeStyles(_theme => ({ @@ -42,6 +43,7 @@ const useStyles = makeStyles(_theme => ({ export const NotificationsSidebarItem = ({ pollingInterval, + className, }: NotificationsSidebarItemProps) => { const styles = useStyles(); const notificationsApi = useApi(notificationsApiRef); @@ -88,6 +90,7 @@ export const NotificationsSidebarItem = ({ return ( <>