mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Retry dialog for errors during backup download
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user