Upgrade Storybook
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
8c966dfbd8
commit
502ea174ab
328 changed files with 10863 additions and 12432 deletions
|
@ -19,17 +19,19 @@ export enum InstallError {
|
|||
QRCodeFailed,
|
||||
}
|
||||
|
||||
export type Props = Readonly<{
|
||||
error: InstallError;
|
||||
i18n: LocalizerType;
|
||||
quit: () => unknown;
|
||||
tryAgain: () => unknown;
|
||||
}>;
|
||||
|
||||
export function InstallScreenErrorStep({
|
||||
error,
|
||||
i18n,
|
||||
quit,
|
||||
tryAgain,
|
||||
}: Readonly<{
|
||||
error: InstallError;
|
||||
i18n: LocalizerType;
|
||||
quit: () => unknown;
|
||||
tryAgain: () => unknown;
|
||||
}>): ReactElement {
|
||||
}: Props): ReactElement {
|
||||
let errorMessage: string;
|
||||
let buttonText = i18n('icu:installTryAgain');
|
||||
let onClickButton = () => tryAgain();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue