dropdown API
overlays/dropdown.tsx
Dropdown
Props
Prop | Type | Default | Description |
---|---|---|---|
trigger * | React.ReactElement | — | |
items * | {} | — | |
align | "start" | "center" | "end" | undefined | start | |
side | "top" | "right" | "bottom" | "left" | undefined | bottom | |
sideOffset | number | undefined | 4 | |
animationVariants | any | — | Custom animation variants for dropdown entrance/exit |
Show native HTML props
Native HTML Props
Prop | Type | Default | Description |
---|---|---|---|
className | string | undefined | — |