From f3c8512fa8c29b9bf052ec5a9ea97376272798fb Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Thu, 13 Feb 2025 13:55:52 +0000 Subject: [PATCH] added EditButton storybook --- src/lib/components/edit-button.stories.ts | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/lib/components/edit-button.stories.ts diff --git a/src/lib/components/edit-button.stories.ts b/src/lib/components/edit-button.stories.ts new file mode 100644 index 00000000..549e5524 --- /dev/null +++ b/src/lib/components/edit-button.stories.ts @@ -0,0 +1,31 @@ +import EditButton from './edit-button.svelte'; + +export default { + title: 'Atoms/Buttons/EditButton', + component: EditButton, + parameters: { + layout: 'centered', + controls: { exclude: ['type'] } + } +}; + +export const SmallEditButton = { + args: { + size: 'small', + link: 'https://lipsum.org' + } +}; + +export const MediumEditButton = { + args: { + size: 'medium', + link: 'https://lipsum.org' + } +}; + +export const LargeEditButton = { + args: { + size: 'large', + link: 'https://lipsum.org' + } +};