feat(dropdown): add direction prop

This commit is contained in:
Eric Liu 2021-02-19 15:53:21 -08:00
commit f6c2007636
6 changed files with 36 additions and 3 deletions

View file

@ -36,6 +36,12 @@ export interface DropdownProps
*/
type?: "default" | "inline";
/**
* Specify the direction of the dropdown menu
* @default "bottom"
*/
direction?: "bottom" | "top";
/**
* Specify the size of the dropdown field
*/