Skip to content

Commit

Permalink
renamed button file to .jsx, and fixed up button stories
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Sep 10, 2023
1 parent b7a0812 commit 52aa78a
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 38 deletions.
38 changes: 0 additions & 38 deletions packages/design-system/src/stories/Button.stories.js

This file was deleted.

37 changes: 37 additions & 0 deletions packages/design-system/src/stories/Button.stories.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
import { Button } from '@layer5/sistent-components';

export default {
title: 'Example/Button',
component: Button,
tags: ['autodocs'],
};

export const Primary = {
args: {
variant: "contained",
label: "contained"
}
};

export const Secondary = {
args: {
variant: "outlined",
label: 'outlined'
}
};

export const Large = {
args: {
variant: "text",
size: 'large',
label: 'large text'
}
};

export const Small = {
args: {
variant: "contained",
size: 'small',
label: 'small primary'
}
};

0 comments on commit 52aa78a

Please sign in to comment.