Dropdown
A dropdown component is a UI element that can open or close based on a trigger state. It can be used to filter or sort contents on a page.
Variants
Props
---yet to be updated ---
Props | Datatype | Values/Example |
---|---|---|
type | string | "primary" | "dark" | "danger" | "transparent" | "other" | "icon" |
disabled | boolean | "true" | "false" |
loader | boolean | "true" | "false" |
title | string | "Cancel" |
onClick | function | function from parent component |
textStyleProp | Object | font-size: var(--base-text) |