|
@@ -1,12 +1,12 @@
|
|
|
import StyledMenuItem, {
|
|
|
- Props as MenuItemProps,
|
|
|
+ MenuItemProps,
|
|
|
} from 'components/Nav/ClusterMenuItem/ClusterMenuItem.styled';
|
|
|
import React from 'react';
|
|
|
import { NavLink } from 'react-router-dom';
|
|
|
|
|
|
-export type Props = MenuItemProps;
|
|
|
+export type { MenuItemProps };
|
|
|
|
|
|
-const ClusterMenuItem: React.FC<Props> = (props) => {
|
|
|
+const ClusterMenuItem: React.FC<MenuItemProps> = (props) => {
|
|
|
const { to, activeClassName, title, children, liType, ...rest } = props;
|
|
|
|
|
|
if (to) {
|