autodocs is... auto
This commit is contained in:
parent
989fc873f8
commit
e1816867f5
5 changed files with 3 additions and 6 deletions
|
|
@ -3,6 +3,7 @@ import './preview.css';
|
|||
|
||||
/** @type { import('@storybook/svelte').Preview } */
|
||||
const preview = {
|
||||
tags: ['autodocs'],
|
||||
parameters: {
|
||||
controls: {
|
||||
matchers: {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
const { Story } = defineMeta({
|
||||
title: 'Button',
|
||||
component: Button,
|
||||
tags: ['autodocs'],
|
||||
args: {
|
||||
onClick: fn()
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@
|
|||
|
||||
const { Story } = defineMeta({
|
||||
title: 'Loader',
|
||||
component: Loader,
|
||||
tags: ['autodocs']
|
||||
component: Loader
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@
|
|||
|
||||
const { Story } = defineMeta({
|
||||
title: 'Navbar',
|
||||
component: Navbar,
|
||||
tags: ['autodocs']
|
||||
component: Navbar
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
const { Story } = defineMeta({
|
||||
title: 'TextInput',
|
||||
component: TextInput,
|
||||
tags: ['autodocs'],
|
||||
argTypes: {
|
||||
color: {
|
||||
control: 'select',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue