Skip to content

Commit

Permalink
Merge pull request #22 from skorphil/static-tablist
Browse files Browse the repository at this point in the history
Add storybook Collapsed and expanded stories
  • Loading branch information
skorphil authored Feb 5, 2024
2 parents 0e31e73 + 1e61657 commit 62a5d59
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 62a5d59

Please sign in to comment.