DropdownButton component

This is is the clickable button on the Dropdown Menu

Props

PropTypeDefaultValuesRequiredDescription
clickEvent( )=>any--NoThe function that gets executed when the button is clicked

Examples

<Dropdown> <DropdownLabel>Click me!</DropdownLabel> <DropdownMenu> <DropdownButton clickEvent={()=>alert("The button has been clicked")}>Button 1</DropdownButton> </DropdownMenu> </Dropdown>