feat: add story with empty arr for network

This commit is contained in:
RadoslavDimchev 2023-08-15 09:12:11 +03:00
parent c0dc49289f
commit f335f3f2b0
1 changed files with 10 additions and 3 deletions

View File

@ -16,14 +16,21 @@ type Story = StoryObj<typeof meta>
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: [],
},
}