Skip to content

Conversation

@patw0929
Copy link

@patw0929 patw0929 commented May 2, 2018

Same as react-native-paper's PR (callstack/react-native-paper#327), we should make the react-native-vector-icons optional.

We can use babel-plugin-optional-require to make it happened.

@patw0929 patw0929 force-pushed the feature/make-vector-icons-optional branch from 0b315f3 to 2eabe37 Compare May 2, 2018 10:35
@vonovak
Copy link
Owner

vonovak commented May 4, 2018

Hi! Thanks for the PR. I was thinking about not having the vector icons dependency (although I cannot imagine an app running without them). I may publish another package to which I would move the logic of this package, without vector icons dependency (ugly overflow button by default).
Then this package would depend on the new package and also vector icons, and would offer some helpers such as MaterialHeaderButtons.
I may also merge this, will think about it. Thanks!

@dotemacs dotemacs mentioned this pull request May 10, 2018
@vonovak
Copy link
Owner

vonovak commented May 11, 2018

so I went ahead with the approach I described in the comment, and there is this new package https://github.com/vonovak/react-navigation-header-buttons-base

We'll see how it goes in terms of maintenance, but for now I'll close this PR. Thanks for your effort!

@vonovak vonovak closed this May 11, 2018
@patw0929
Copy link
Author

Cool, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants