% Auto-generated: do not edit by hand
\name{navbarDropdown}

\alias{navbarDropdown}

\title{NavbarDropdown component}

\description{
Component for including dropdown menus inside a bulma navbar Includes all of the default bulma classes for a navbar-dropdown
}

\usage{
navbarDropdown(children=NULL, className=NULL, isArrowless=NULL,
isRight=NULL, items=NULL)
}

\arguments{
\item{children}{A list of or a singular dash component, string or number. Use the children prop to set the dropdown trigger content
This can be simple text or a component
The trigger will automatically be wrapped with the "navbar-link" class}

\item{className}{Character. Extra class name applied to top level navbar-item
The "navbar-item" and "has-dropdown" classes are added automatically}

\item{isArrowless}{Logical. Set to true to hide the default angle down arrow created by bulma}

\item{isRight}{Logical. Set to true to apply bulma's "is-right" class to the navbar-dropdown
This aligns the dropdown menu with the right side of the trigger}

\item{items}{Unnamed list. An array of navbar-items to show in the dropdown when hovering over the label.
An item can be a link, a menu label, or a divider
Each item can support the following properties:
-- text: string (the text to show in the item)
-- href: string (the href value for link items, ignored if item is menu label)
-- isMenuLabel: boolean (sets this item as a label with the "menu-label" class)
-- isDivider: boolean (sets this item as just a horizontal rule with the "navbar-divider" class)
-- openInNewTab: boolean (will open link in a new tab, only works if href is a full url)
e.g.
        [
          {
            text: "Materials",
            href: "/materials"
          },
          {
            text: "Molecules",
            href: "/molecules"
          },
          {
            isDivider: true
          },
          {
            isMenuLabel: true,
            text: "Other"
          },
          {
            text: "External Site",
            href: "https://externalsite.com",
            openInNewTab: true
          }
        ]}
}

\value{named list of JSON elements corresponding to React.js properties and their values}

