Skip to content

Commit

Permalink
Fix storybook width setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Sep 13, 2022
1 parent 6cba7be commit 27fe4be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/components/src/submit-button/submit-button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default {
args: {
buttonType: "primary",
loading: false,
block: false,
},
parameters: {
design: {
Expand All @@ -25,7 +26,7 @@ export default {

const Template: Story<SubmitButtonComponent> = (args: SubmitButtonComponent) => ({
props: args,
template: `<bit-submit-button [buttonType]="buttonType" [loading]="loading" [disabled]="disabled">
template: `<bit-submit-button [buttonType]="buttonType" [loading]="loading" [disabled]="disabled" [block]="block">
Submit
</bit-submit-button>`,
});
Expand Down

0 comments on commit 27fe4be

Please sign in to comment.