mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
Run npm run lint
This commit is contained in:
parent
b982387a8c
commit
2031cb7585
480 changed files with 8985 additions and 9048 deletions
|
@ -1,14 +1,14 @@
|
|||
<script lang="ts">
|
||||
import { Dropdown } from "carbon-components-svelte";
|
||||
import type { ComponentProps } from "svelte";
|
||||
import { Dropdown } from "carbon-components-svelte";
|
||||
import type { ComponentProps } from "svelte";
|
||||
|
||||
export let items: ComponentProps<Dropdown>["items"] = [
|
||||
{ id: "0", text: "Option 1" },
|
||||
{ id: "1", text: "Option 2" },
|
||||
{ id: "2", text: "Option 3" },
|
||||
];
|
||||
export let selectedId: ComponentProps<Dropdown>["selectedId"] = "0";
|
||||
export let id: ComponentProps<Dropdown>["id"] = "test-dropdown-slot";
|
||||
export let items: ComponentProps<Dropdown>["items"] = [
|
||||
{ id: "0", text: "Option 1" },
|
||||
{ id: "1", text: "Option 2" },
|
||||
{ id: "2", text: "Option 3" },
|
||||
];
|
||||
export let selectedId: ComponentProps<Dropdown>["selectedId"] = "0";
|
||||
export let id: ComponentProps<Dropdown>["id"] = "test-dropdown-slot";
|
||||
</script>
|
||||
|
||||
<Dropdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue