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

\alias{dropdown}

\title{Dropdown component}

\description{
Generic dropdown menu that can render arbitrary items for display and navigation purposes only (i.e. not for selecting options or performing actions that are not links)
}

\usage{
dropdown(children=NULL, id=NULL, className=NULL,
closeOnSelection=NULL, isArrowless=NULL, isRight=NULL,
isUp=NULL, items=NULL, triggerClassName=NULL,
triggerIcon=NULL, triggerLabel=NULL)
}

\arguments{
\item{children}{A list of or a singular dash component, string or number. Use the children prop to set the dropdown items.
This should usually be a list of <div> components with the class "dropdown-item".
The content of each item can be anything from simple text to a component.}

\item{id}{Character. The ID used to identify this component in Dash callbacks}

\item{className}{Character. Class name(s) to append to the component's default class (dropdown)}

\item{closeOnSelection}{Logical. Set to false to keep the menu open when an item is clicked
@default true}

\item{isArrowless}{Logical. Set to true to remove the arrow to the right of the trigger label}

\item{isRight}{Logical. Set to true to align the dropdown menu with the right of the trigger}

\item{isUp}{Logical. Set to true to make the dropdown menu open upwards}

\item{items}{List of characters. List of strings to display inside the dropdown menu.
Omit this and use the children prop instead if you want supply components as dropdown items.}

\item{triggerClassName}{Character. Class name(s) to apply to button that opens the dropdown menu
@default 'button'}

\item{triggerIcon}{Character. Class name(s) for the icon to display to the left of the trigger label (optional)}

\item{triggerLabel}{Character. Text to display in the button that triggers the dropdown to open}
}

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

