mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
15 lines
287 B
Svelte
15 lines
287 B
Svelte
<script lang="ts">
|
|
import { Theme } from "carbon-components-svelte";
|
|
</script>
|
|
|
|
<Theme
|
|
render="select"
|
|
select={{
|
|
themes: ["white", "g90", "g100"],
|
|
labelText: "Select a theme",
|
|
inline: true,
|
|
}}
|
|
on:update={({ detail }) => {
|
|
console.log("update", detail);
|
|
}}
|
|
/>
|