organize storybook hierarchy

This commit is contained in:
Benjamin Palko 2024-12-19 15:08:52 -05:00
parent 40e3a5617d
commit 8786ae4dec
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
import Navbar from './Navbar.svelte';
const { Story } = defineMeta({
title: 'Navbar',
title: 'Navigation/Navbar',
component: Navbar
});
</script>

View file

@ -4,7 +4,7 @@
import Tabs from './Tabs.svelte';
const { Story } = defineMeta({
title: 'Tabs',
title: 'Navigation/Tabs',
component: Tabs,
tags: ['autodocs'],
argTypes: {

View file

@ -4,7 +4,7 @@
import { fn } from '@storybook/test';
const { Story } = defineMeta({
title: 'Button',
title: 'Actions/Button',
component: Button,
args: {
onClick: fn()

View file

@ -3,7 +3,7 @@
import Loader from './Loader.svelte';
const { Story } = defineMeta({
title: 'Loader',
title: 'Feedback/Loader',
component: Loader
});
</script>

View file

@ -3,7 +3,7 @@
import TextInput from './TextInput.svelte';
const { Story } = defineMeta({
title: 'TextInput',
title: 'Data Input/Text Input',
component: TextInput,
argTypes: {
color: {