Skip to content
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

refactor: Refactors Addons.tsx to a function component #187

Merged

Conversation

lauriharpf
Copy link
Contributor

@lauriharpf lauriharpf commented Jun 25, 2021

Issue: #179

What I did

Refactored app/react-native/src/preview/components/OnDeviceUI/addons/Addons.tsx to a function component as planned

How to test

Was unable to run the examples on Android and iOS, both with and without these changes. Opened #186 with details. Run the native examples and check that the Addons tab renders correctly

  • Does this need a new example in examples/native? In my opinion, no
  • Does this need an update to the documentation? In my opinion, no

@dannyhw
Copy link
Member

dannyhw commented Jun 25, 2021

@lauriharpf thanks for your contribution 🙏

I will review it as soon as possible.

Copy link
Member

@dannyhw dannyhw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested this with the controls branch and it works as normal. Thanks 🙏

@dannyhw dannyhw merged commit ad2f93b into storybookjs:next-6.0 Jun 27, 2021
@lauriharpf lauriharpf deleted the refactor/addons-to-function-component branch June 27, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants