1.0.4 • Published 3 years ago

@xaviemirmon/gatsby-drupal-menus v1.0.4

Weekly downloads
42
License
MIT
Repository
github
Last release
3 years ago

Drupal menus for Gatsby

This module works alongside the Gatsby Live Preview module for Drupal.

To use this component simply add the following to your site where your wish for your menu to appear

<Menu />

And the main menu will appear.

The menu also accepts a prop of menuName which is the drupal machine name for the menu.

If for example, you wished to add the footer menu, you could do something like the following:

<Menu menuName={`footer`} />