Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
chore: add vriant for storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
jia-deriv committed Nov 30, 2023
1 parent 5c12bc2 commit 1ce7109
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions libs/blocks/src/lib/fast-payment/base/base.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,73 @@ export const Default: Story = {
},
},
};

export const WithoutDescription: Story = {
args: {
...Default.args,
description: undefined,
},
};

export const WithoutLink: Story = {
args: {
...Default.args,
link: undefined,
},
};

export const WithoutDisclaimer: Story = {
args: {
...Default.args,
disclaimer: undefined,
},
};

export const TwoColumn: Story = {
args: {
...Default.args,
content: {
cols: 'two',
cards: cards.slice(0, 2),
},
},
};

export const ThreeColumn: Story = {
args: {
...Default.args,
content: {
cols: 'three',
cards: cards.slice(0, 3),
},
},
};

export const FourColumn: Story = {
args: {
...Default.args,
content: {
cols: 'four',
cards: cards.slice(0, 4),
},
},
};
export const FiveColumn: Story = {
args: {
...Default.args,
content: {
cols: 'five',
cards: cards.slice(0, 5),
},
},
};

export const Carousel: Story = {
args: {
...Default.args,
content: {
cols: 'infinite',
cards: cards,
},
},
};

0 comments on commit 1ce7109

Please sign in to comment.