mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
feat(dropdown): add direction prop
This commit is contained in:
parent
2fc2767acd
commit
f6c2007636
6 changed files with 36 additions and 3 deletions
6
types/Dropdown/Dropdown.d.ts
vendored
6
types/Dropdown/Dropdown.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue