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

Commit

Permalink
chore: add storybook variant
Browse files Browse the repository at this point in the history
  • Loading branch information
jia-deriv committed Nov 16, 2023
1 parent 07370f4 commit b04b5a6
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 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 @@ -11,7 +11,101 @@ export default meta;

type Story = StoryObj<typeof meta>;

const one = {
cols: 'three',
cards: [
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
],
};

const two = {
cols: 'two',
cards: [
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
],
};

const three = {
cols: 'four',
cards: [
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
{
header: '',
color: 'gray',
align: 'center',
size: 'lg',
description: 'test',
},
],
};

export const Default: Story = {
argTypes: {
content: {
options: [one, two, three],
control: { type: 'radio' },
},
},
args: {
description: 'Make instant deposits from 10,000 HKD. Withdraw in minutes.',
title: 'Hassle-free deposits and withdrawals',
Expand Down

0 comments on commit b04b5a6

Please sign in to comment.