-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73f91ac
commit 2be9807
Showing
36 changed files
with
82 additions
and
40 deletions.
There are no files selected for viewing
Binary file modified
BIN
-447 Bytes
(98%)
...feedbackscreen-error-screen-appears-properly-on-movistar-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.03 KB
(97%)
...dbackscreen-error-screen-appears-properly-on-movistar-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-491 Bytes
(98%)
...errorfeedbackscreen-error-screen-appears-properly-on-o-2-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.13 KB
(93%)
...orfeedbackscreen-error-screen-appears-properly-on-o-2-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-498 Bytes
(98%)
...rrorfeedbackscreen-error-screen-appears-properly-on-vivo-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.34 KB
(96%)
...rfeedbackscreen-error-screen-appears-properly-on-vivo-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-552 Bytes
(97%)
...ofeedbackscreen-info-screen-appears-properly-on-movistar-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.55 KB
(93%)
...edbackscreen-info-screen-appears-properly-on-movistar-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-444 Bytes
(97%)
...k-infofeedbackscreen-info-screen-appears-properly-on-o-2-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.91 KB
(92%)
...nfofeedbackscreen-info-screen-appears-properly-on-o-2-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-592 Bytes
(96%)
...-infofeedbackscreen-info-screen-appears-properly-on-vivo-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.01 KB
(92%)
...fofeedbackscreen-info-screen-appears-properly-on-vivo-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.46 KB
(96%)
...__/feedback-screenshot-test-tsx-feedback-screen-with-large-font-size-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-600 Bytes
(99%)
...edbackscreen-success-screen-appears-properly-on-movistar-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.11 KB
(96%)
...ackscreen-success-screen-appears-properly-on-movistar-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-650 Bytes
(99%)
...essfeedbackscreen-success-screen-appears-properly-on-o-2-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.2 KB
(89%)
...feedbackscreen-success-screen-appears-properly-on-o-2-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-444 Bytes
(99%)
...ssfeedbackscreen-success-screen-appears-properly-on-vivo-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-225 Bytes
(99%)
...eedbackscreen-success-screen-appears-properly-on-vivo-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+22.6 KB
..._/feedback-screenshot-test-tsx-info-feedback-screen-with-custom-icon-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-531 Bytes
(99%)
...s-feedback-component-appears-properly-as-a-success-header-on-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.28 KB
(97%)
...eedback-component-appears-properly-as-a-success-header-on-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-330 Bytes
(99%)
...-success-feedback-component-appears-properly-on-movistar-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.29 KB
(95%)
...ccess-feedback-component-appears-properly-on-movistar-and-mobile-ios-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-656 Bytes
(99%)
...t-tsx-success-feedback-component-appears-properly-on-o-2-and-desktop-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.24 KB
(89%)
...sx-success-feedback-component-appears-properly-on-o-2-and-mobile-ios-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-469 Bytes
(99%)
...-tsx-success-feedback-component-appears-properly-on-vivo-and-desktop-1-snap.png
Oops, something went wrong.
Binary file modified
BIN
-308 Bytes
(99%)
...x-success-feedback-component-appears-properly-on-vivo-and-mobile-ios-1-snap.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
import * as React from 'react'; | ||
import {InfoFeedbackScreen} from '../feedback'; | ||
import {ButtonPrimary} from '../button'; | ||
import IconError from '../icons/icon-error'; | ||
|
||
export default { | ||
title: 'Patterns/Feedback/InfoFeedbackScreen', | ||
parameters: { | ||
fullScreen: true, | ||
}, | ||
argTypes: { | ||
icon: { | ||
options: ['default', 'custom'], | ||
control: {type: 'select'}, | ||
}, | ||
}, | ||
}; | ||
|
||
type Args = { | ||
icon: string; | ||
}; | ||
|
||
export const Info: StoryComponent = () => ( | ||
export const Info: StoryComponent<Args> = ({icon}) => ( | ||
<InfoFeedbackScreen | ||
title="I'm the title" | ||
description="I'm the description" | ||
primaryButton={<ButtonPrimary onPress={() => {}}>Action1</ButtonPrimary>} | ||
Icon={icon === 'custom' ? IconError : undefined} | ||
/> | ||
); | ||
|
||
Info.storyName = 'InfoFeedbackScreen'; | ||
Info.args = { | ||
icon: 'default', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters