mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 11:11:25 +00:00
chore: v11 Dropdown
For better compatibility with existing codebases size xl is still supported.
This commit is contained in:
parent
6203e1d699
commit
6be8d3f7d9
6 changed files with 12 additions and 12 deletions
|
@ -3318,7 +3318,7 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Specify the size of the dropdown field",
|
||||
"type": "\"sm\" | \"lg\" | \"xl\"",
|
||||
"type": "\"sm\" | \"lg\" ",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -65,9 +65,9 @@ Set `direction` to `"top"` for the dropdown menu to appear above the input.
|
|||
{id: "1", text: "Email"},
|
||||
{id: "2", text: "Fax"}]}" />
|
||||
|
||||
## Extra-large size
|
||||
## Large size
|
||||
|
||||
<Dropdown size="xl" titleText="Contact" selectedId="0" items="{[{id: "0", text: "Slack"},
|
||||
<Dropdown size="lg" titleText="Contact" selectedId="0" items="{[{id: "0", text: "Slack"},
|
||||
{id: "1", text: "Email"},
|
||||
{id: "2", text: "Fax"}]}" />
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue