Skip to content

Commit

Permalink
Adress comments and add error case
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaksy committed Jun 13, 2023
1 parent 232b848 commit a9773ea
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ export const Default = {
warning_count: faker.datatype.number(),
critical_count: faker.datatype.number(),
},
error: false,
error: '',
loading: false,
onCheckCLick: {},
onCheckClick: () => {},
},
};

export const Loading = { args: { ...Default.args, loading: true } };
export const Error = { args: { ...Default.args, error: 'Network Error' } };
export const NoData = { ...Default.args, data: {} };

0 comments on commit a9773ea

Please sign in to comment.