jsdrupal / drupal-react-components

20 stars 0 forks source link

menu #2

Closed mattgrill closed 6 years ago

dawehner commented 6 years ago

I'm curios, so the general idea is to use that together with something like a link component to provide actual menu links?

mattgrill commented 6 years ago

@dawehner Something like,

<Menu>
  <MenuItem disabled>aaa</MenuItem>
  <MenuItem>bbb</MenuItem>
  <MenuItem>ccc</MenuItem>
  <MenuGroup disabled>
    <MenuItem><a href="/ddd">ddd</a></MenuItem>
    <MenuItem>eee</MenuItem>
    <MenuItem>fff</MenuItem>
  </MenuGroup>
</Menu>

Some more functionality built in would be nice, which I was planning on adding.

dawehner commented 6 years ago

🎆

On Sun, 7 Jan 2018 at 00:09 Matthew Grill notifications@github.com wrote:

Merged #2 https://github.com/jsdrupal/drupal-react-components/pull/2.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jsdrupal/drupal-react-components/pull/2#event-1412578632, or mute the thread https://github.com/notifications/unsubscribe-auth/AABz7tzPwJOAqaoOmCAp6RmAWhWSjKEAks5tIAtVgaJpZM4RTgZT .