Dropdown
A Menu described as data: give it a trigger (or a label for a ready-made button) and a list of entries.
import { Dropdown } from "pleate/dropdown";Button and avatar triggers
Props
- items
item | separator | label | submenu.
DropdownEntry[]- trigger / label
Custom trigger, or text for a gray Button with a chevron.
ReactNode- align / side
Placement.
stringdefault "start"