Skip to content

Commit

Permalink
Add storybook Collapsed and expanded stories
Browse files Browse the repository at this point in the history
  • Loading branch information
skorphil committed Feb 5, 2024
1 parent 7d46704 commit 1e61657
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion components/InstitutionsTabsList/InstitutionsTabsList.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default {
],
};

export const Default = {
export const Expanded = {
args: {
simulateKeyboard: false,
institutions: [
Expand All @@ -40,3 +40,31 @@ export const Default = {
],
},
};

export const Collapsed = {
args: {
simulateKeyboard: true,
institutions: [
{
name: "City Bank",
country: "it",
assets: [],
},
{
name: "Wells & Fargo",
country: "",
assets: [],
},
{
name: "Bank Of America",
country: "",
assets: [],
},
{
name: "Raiffeisen Bank",
country: "",
assets: [],
},
],
},
};

0 comments on commit 1e61657

Please sign in to comment.