Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Vertical Menu Component #257

Open
adityaxpique opened this issue Oct 8, 2022 · 0 comments
Open

Add a Vertical Menu Component #257

adityaxpique opened this issue Oct 8, 2022 · 0 comments
Assignees
Labels
create-component Create a component for visual editor good first issue Good for newcomers

Comments

@adityaxpique
Copy link
Contributor

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 -
Screenshot 2022-10-06 165514

@adityaxpique adityaxpique added the good first issue Good for newcomers label Oct 8, 2022
@darshitac11 darshitac11 added hacktoberfest Hacktoberfest 2022 create-component Create a component for visual editor labels Oct 8, 2022
@cruxcode cruxcode removed the hacktoberfest Hacktoberfest 2022 label Nov 15, 2022
@dibkb dibkb changed the title Add a Menu Component Add a Vertical Menu Component Nov 22, 2022
cruxcode added a commit that referenced this issue Dec 15, 2022
Add a Vertical Menu Component #257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
create-component Create a component for visual editor good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants