Skip to content

Commit

Permalink
added EditButton storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
peucastro committed Feb 13, 2025
1 parent 784454c commit f3c8512
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/lib/components/edit-button.stories.ts
Original file line number Diff line number Diff line change
@@ -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'
}
};

0 comments on commit f3c8512

Please sign in to comment.