From f335f3f2b0a149f3dc61e20466c55b02d6ef7745 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 15 Aug 2023 09:12:11 +0300 Subject: [PATCH] feat: add story with empty arr for network --- src/components/DeviceNetworkHealth.stories.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/DeviceNetworkHealth.stories.tsx b/src/components/DeviceNetworkHealth.stories.tsx index 9ee7f57f..79def3fc 100644 --- a/src/components/DeviceNetworkHealth.stories.tsx +++ b/src/components/DeviceNetworkHealth.stories.tsx @@ -16,14 +16,21 @@ type Story = StoryObj export const GoodStats: Story = { args: { - uploadRate: [1, 4, 23, 61,34], - downloadRate: [20, 3, 40, 56,32], + uploadRate: [1, 4, 23, 61, 34], + downloadRate: [20, 3, 40, 56, 32], }, } export const BadStats: Story = { args: { uploadRate: [1, 4, 23, 55], - downloadRate: [20, 3, 40, 56,80], + downloadRate: [20, 3, 40, 56, 80], + }, +} + +export const NoStats: Story = { + args: { + uploadRate: [], + downloadRate: [], }, }