0.5.1 • Published 4 years ago

@bdt-component-library/drop-down-menu v0.5.1

Weekly downloads
70
License
MIT
Repository
github
Last release
4 years ago

DropDownMenu Component

About

This is a component published as its own package from our component library monorepo: https://github.com/BenefitsDataTrust/ui-components. Setup instructions, as well as higher-level goals and concerns can be found from the main project README.

Description

Handles display of drop down menus.

API

proptyperequireddefaultexplanation
classNamestringnon/aAdds an optional classname to the component
behaviorenum("hover", "click")no"hover"Determines if menu is opened via button or link
textstringyesnoAdds text for menu item
descriptionstringnonoAdds id to menu list
idstringnonoAdds id to menu open link if using link, and aria-labelledby to menu list
parentUrlstringnonoAdds href if using menu open link
sizeenum("default", "compact")no"default"Determines the size variant
itemsarray("any")no[]List of menu items to appear in list
0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.12

4 years ago

0.1.13

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago