-
-
Notifications
You must be signed in to change notification settings - Fork 7
fix: dsrn example wallet screen #696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| '../../../packages/design-system-react-native/src/**/*.stories.@(js|jsx|ts|tsx)', | ||
| '../../../packages/design-system-react-native/src/**/!(temp-components)/*.stories.@(js|jsx|ts|tsx)', | ||
| '../stories/**/*.stories.@(js|jsx|ts|tsx)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating storybook react native to include stories from apps/storybook-react-native
| } from "@storybook/react-native"; | ||
|
|
||
| global.STORIES = [ | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating storybook requires using yarn prestorybook
5f68ee5 to
a4449de
Compare
📖 Storybook Preview |
a4449de to
f1bdeaf
Compare
| export type { AvatarAccountProps } from './AvatarAccount'; | ||
|
|
||
| export { AvatarBase, AvatarBaseSize } from './AvatarBase'; | ||
| export { AvatarBase, AvatarBaseSize, AvatarBaseShape } from './AvatarBase'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing AvatarBaseShape enum export
📖 Storybook Preview |
| <View style={tw`flex-col items-center justify-center`}> | ||
| <Icon name={IconName.Bank} /> | ||
| <Text fontWeight={FontWeight.Medium}>Buy/Sell</Text> | ||
| </View> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we had access to the content wrapping View via a prop object we could use that instead but this works
| return ( | ||
| <ScrollView style={tw`bg-background-default flex-1`}> | ||
| {/* Container */} | ||
| <View style={tw`bg-background-default w-full py-4`}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to allow for bg-default and other shorthand design token classnames similar to react
📖 Storybook Preview |
Description
This PR adds a new WalletHome example story based on the home page redesign to the Storybook React Native app to:
Related issues
Part of: #654
Manual testing steps
yarn storybook:ios)Screenshots/Recordings
Before
N/A - New feature
After
after.mov
Pre-merge author checklist