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 } */
|
/** @type { import('@storybook/svelte').Preview } */
|
||||||
const preview = {
|
const preview = {
|
||||||
|
tags: ['autodocs'],
|
||||||
parameters: {
|
parameters: {
|
||||||
controls: {
|
controls: {
|
||||||
matchers: {
|
matchers: {
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,7 @@
|
||||||
|
|
||||||
const { Story } = defineMeta({
|
const { Story } = defineMeta({
|
||||||
title: 'Loader',
|
title: 'Loader',
|
||||||
component: Loader,
|
component: Loader
|
||||||
tags: ['autodocs']
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,7 @@
|
||||||
|
|
||||||
const { Story } = defineMeta({
|
const { Story } = defineMeta({
|
||||||
title: 'Navbar',
|
title: 'Navbar',
|
||||||
component: Navbar,
|
component: Navbar
|
||||||
tags: ['autodocs']
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue