autodocs is... auto

This commit is contained in:
Benjamin Palko 2024-12-18 22:35:51 -05:00
parent 989fc873f8
commit e1816867f5
5 changed files with 3 additions and 6 deletions

View file

@ -3,6 +3,7 @@ import './preview.css';
/** @type { import('@storybook/svelte').Preview } */ /** @type { import('@storybook/svelte').Preview } */
const preview = { const preview = {
tags: ['autodocs'],
parameters: { parameters: {
controls: { controls: {
matchers: { matchers: {

View file

@ -6,7 +6,6 @@
const { Story } = defineMeta({ const { Story } = defineMeta({
title: 'Button', title: 'Button',
component: Button, component: Button,
tags: ['autodocs'],
args: { args: {
onClick: fn() onClick: fn()
}, },

View file

@ -4,8 +4,7 @@
const { Story } = defineMeta({ const { Story } = defineMeta({
title: 'Loader', title: 'Loader',
component: Loader, component: Loader
tags: ['autodocs']
}); });
</script> </script>

View file

@ -4,8 +4,7 @@
const { Story } = defineMeta({ const { Story } = defineMeta({
title: 'Navbar', title: 'Navbar',
component: Navbar, component: Navbar
tags: ['autodocs']
}); });
</script> </script>

View file

@ -5,7 +5,6 @@
const { Story } = defineMeta({ const { Story } = defineMeta({
title: 'TextInput', title: 'TextInput',
component: TextInput, component: TextInput,
tags: ['autodocs'],
argTypes: { argTypes: {
color: { color: {
control: 'select', control: 'select',