Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit 0a48fa2

Browse files
itsdonnixdhonxTheComputerM
authored
docs: fix button playground
Co-authored-by: Don Alfons Nisnoni <[email protected]> Co-authored-by: TheComputerM <[email protected]>
1 parent c116592 commit 0a48fa2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/docs/src/playground/Button.svelte

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
size: {
1212
type: 'select',
1313
items: ['x-small', 'small', 'default', 'large', 'x-large'],
14+
mandatory: true,
1415
},
1516
};
1617
@@ -21,7 +22,7 @@
2122
block: false,
2223
disabled: false,
2324
active: false,
24-
size: ['default'],
25+
size: 'default',
2526
};
2627
</script>
2728

@@ -30,7 +31,7 @@
3031
block={values.block}
3132
disabled={values.disabled}
3233
active={values.active}
33-
size={values.size[0]}
34+
size={values.size}
3435
{...formatVariant(values.variants)}>
3536
{#if values.variants.includes('icon') || values.variants.includes('fab')}
3637
<Icon class="mdi mdi-home" />

0 commit comments

Comments
 (0)