From 1e616573475632aeab163369349ec7a230a093be Mon Sep 17 00:00:00 2001 From: Philipp Rich Date: Mon, 5 Feb 2024 22:47:15 +0400 Subject: [PATCH] Add storybook Collapsed and expanded stories --- .../InstitutionsTabsList.stories.jsx | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/components/InstitutionsTabsList/InstitutionsTabsList.stories.jsx b/components/InstitutionsTabsList/InstitutionsTabsList.stories.jsx index 3879568..3e42b78 100644 --- a/components/InstitutionsTabsList/InstitutionsTabsList.stories.jsx +++ b/components/InstitutionsTabsList/InstitutionsTabsList.stories.jsx @@ -13,7 +13,7 @@ export default { ], }; -export const Default = { +export const Expanded = { args: { simulateKeyboard: false, institutions: [ @@ -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: [], + }, + ], + }, +};