Add Cannot_Update_Require_Manual dialog type

This commit is contained in:
Fedor Indutny 2022-04-06 11:27:17 -07:00 committed by GitHub
parent 6ddf7b913a
commit 55c5f15cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 1 deletions

View file

@ -128,6 +128,26 @@ story.add('Knobs Playground', () => {
</FakeLeftPaneContainer>
));
story.add(`Cannot Update & Require Manual (${name} container)`, () => (
<FakeLeftPaneContainer containerWidthBreakpoint={containerWidthBreakpoint}>
<DialogUpdate
{...defaultPropsForBreakpoint}
dialogType={DialogType.Cannot_Update_Require_Manual}
currentVersion="5.24.0"
/>
</FakeLeftPaneContainer>
));
story.add(`Cannot Update & Require Manual Beta (${name} container)`, () => (
<FakeLeftPaneContainer containerWidthBreakpoint={containerWidthBreakpoint}>
<DialogUpdate
{...defaultPropsForBreakpoint}
dialogType={DialogType.Cannot_Update_Require_Manual}
currentVersion="5.24.0-beta.1"
/>
</FakeLeftPaneContainer>
));
story.add(`macOS RO Error (${name} container)`, () => (
<FakeLeftPaneContainer containerWidthBreakpoint={containerWidthBreakpoint}>
<DialogUpdate