mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
14 lines
317 B
Svelte
14 lines
317 B
Svelte
<script>
|
|
export let story = undefined;
|
|
|
|
import RadioButton from "./RadioButton.svelte";
|
|
import RadioButtonSkeleton from "./RadioButton.Skeleton.svelte";
|
|
|
|
$: checked = false;
|
|
</script>
|
|
|
|
{#if story === 'skeleton'}
|
|
<RadioButtonSkeleton />
|
|
{:else}
|
|
<RadioButton {...$$props} bind:checked id="radio-1" />
|
|
{/if}
|