Retry dialog for errors during backup download
This commit is contained in:
parent
6e1fd5958e
commit
12f28448b2
6 changed files with 202 additions and 11 deletions
|
@ -21,6 +21,7 @@ const Template: StoryFn<PropsType> = (args: PropsType) => (
|
|||
{...args}
|
||||
i18n={i18n}
|
||||
onCancel={action('onCancel')}
|
||||
onRetry={action('onRetry')}
|
||||
/>
|
||||
);
|
||||
|
||||
|
@ -41,3 +42,10 @@ Full.args = {
|
|||
currentBytes: 1024,
|
||||
totalBytes: 1024,
|
||||
};
|
||||
|
||||
export const Error = Template.bind({});
|
||||
Error.args = {
|
||||
currentBytes: 500 * 1024,
|
||||
totalBytes: 1024 * 1024,
|
||||
hasError: true,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue