carbon-components-svelte/tests/Theme/ThemeSelectCustom.test.svelte
2025-03-16 14:19:44 -07:00

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);
}}
/>