This commit is contained in:
Ivan Shmidt
2020-10-21 11:33:14 +02:00
parent 93a3fa3aea
commit f56486570c
@@ -31,6 +31,7 @@ import React, {
useState,
KeyboardEventHandler,
forwardRef,
ReactNode,
} from 'react';
import { NavLink } from 'react-router-dom';
import { sidebarConfig, SidebarContext } from './config';
@@ -121,6 +122,7 @@ type SidebarItemProps = {
to?: string;
hasNotifications?: boolean;
onClick?: () => void;
children?: ReactNode;
};
export const SidebarItem = forwardRef<any, SidebarItemProps>(