mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-24 05:29:51 +03:00
separate button group component + stories
This commit is contained in:
parent
09a8e80662
commit
df2dec662c
@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryObj } from '@storybook/svelte';
|
||||
|
||||
import ButtonGroup from '$lib/components/ButtonGroup.svelte';
|
||||
import ButtonGroup from './ButtonGroup.svelte';
|
||||
|
||||
// More on how to set up stories at: https://storybook.js.org/docs/7.0/svelte/writing-stories/introduction
|
||||
const meta: Meta<ButtonGroup> = {
|
2
src/lib/components/ButtonGroup/index.ts
Normal file
2
src/lib/components/ButtonGroup/index.ts
Normal file
@ -0,0 +1,2 @@
|
||||
import ButtonGroup from './ButtonGroup.svelte';
|
||||
export default ButtonGroup;
|
@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import ButtonGroup from './ButtonGroup.svelte';
|
||||
import { ButtonGroup } from '$lib/components';
|
||||
import Modal from './Modal.svelte';
|
||||
|
||||
export let title: string;
|
||||
|
@ -4,7 +4,7 @@ export { default as Breadcrumbs } from './Breadcrumbs.svelte';
|
||||
export { default as CodeViewer } from './CodeViewer';
|
||||
export { default as CommandPalette } from './CommandPalette';
|
||||
export { default as Modal } from './Modal.svelte';
|
||||
export { default as ButtonGroup } from './ButtonGroup.svelte';
|
||||
export { default as ButtonGroup } from './ButtonGroup';
|
||||
export { default as Dialog } from './Dialog.svelte';
|
||||
export { default as Tooltip } from './Tooltip.svelte';
|
||||
export { default as Button } from './Button';
|
||||
|
Loading…
Reference in New Issue
Block a user