You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signature of menu component should be as follows:-
type MenuProps = {
// The title for the menu
title: image;
menuItems: {
//The name of the menuitem
name: string;
//The link for onClick of itemUrl
onClick: () => {};
subMenuItems?: {
// Name of the item.
subMenuItemsName: string;
// URL to redirect where the item will redirect.
onClick: () => {};
subMenu?: {
// Name of the item.
itemsName: string;
// URL to redirect where the item will redirect.
onClick: () => {};
}[];
}[];
}[]
};
export const Menu: React.FC<MenuProps> = React.forwardRef(
(ref, props) => {
return <div></div>;
}
);
The design reference -
The text was updated successfully, but these errors were encountered:
The signature of menu component should be as follows:-
The design reference -
![Screenshot 2022-10-06 165514](https://user-images.githubusercontent.com/56078748/194696056-2d07a0a8-f723-4f0d-9ee9-a18c1e95b364.png)
The text was updated successfully, but these errors were encountered: