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

[Standalone for NativeComponents] ToolbarAndroid #23009

Closed
wants to merge 2 commits into from

Conversation

sasurau4
Copy link
Contributor

@sasurau4 sasurau4 commented Jan 15, 2019

Changelog

[Android] [Changed] - create standalone JS file for ToolbarAndroid, as part of #22990

Question

I have a question.

ImageSource is sufficiently complex not to be duplicate code?

ToolbarAndroid component use 2 types from other files.
They are not included files mentioned by #22990 (comment).
One type ColorValue is very simple and I'll copy it.
But ImageSource type is a bit complicated I think it wolud be better to add to the codegen.
How do you think about it? @TheSavior
Update: -> solved 👍

Test Plan


  • yarn lint
  • yarn flow-check-android
  • yarn flow
  • yarn test

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 15, 2019
@sasurau4 sasurau4 changed the title [WIP] create standalone JS file for ToolbarAndroid create standalone JS file for ToolbarAndroid Jan 16, 2019
@sasurau4 sasurau4 changed the title create standalone JS file for ToolbarAndroid [Standalone for NativeComponents] ToolbarAndroid Jan 16, 2019
@elicwhite
Copy link
Member

ImageSource seems reasonable to support in the codegen. Thanks for checking!

@sasurau4
Copy link
Contributor Author

@TheSavior Thanks for response!
So, it's all done 👍

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jan 16, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@TheSavior is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@elicwhite elicwhite self-assigned this Jan 16, 2019
@elicwhite
Copy link
Member

Thanks for contributing!

@react-native-bot
Copy link
Collaborator

@sasurau4 merged commit 3a70bf1 into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Jan 16, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 16, 2019
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
matt-oakes pushed a commit to matt-oakes/react-native that referenced this pull request Feb 7, 2019
Summary:
[Android] [Changed] - create standalone JS file for ToolbarAndroid, as part of facebook#22990

I have a question.

`ToolbarAndroid` component use 2 types from other files.
They are not included files mentioned by facebook#22990 (comment).
One type `ColorValue` is very simple and I'll copy it.
But `ImageSource` type is a bit complicated I think it wolud be better to add to the codegen.
How do you think about it? TheSavior
Update: -> solved 👍

----------
- [x] yarn lint
- [x] yarn flow-check-android
- [x] yarn flow
- [x] yarn test
Pull Request resolved: facebook#23009

Differential Revision: D13697524

Pulled By: TheSavior

fbshipit-source-id: 72ce43e1510be0986a3798d795f07ab176bd2a92
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Component: ToolbarAndroid Merged This PR has been merged. Platform: Android Android applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants