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

Extend React Native Component with native Code #16055

Closed
Stophface opened this issue Sep 21, 2017 · 0 comments
Closed

Extend React Native Component with native Code #16055

Stophface opened this issue Sep 21, 2017 · 0 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@Stophface
Copy link

Is this a bug report?

No.

I am interested in extending a Component, provided by react-native with some native code. The closes example I can find is react-native-maps. It feels like they are extending the MapView component (since the Components from airbnb and facebook have the same name) – but I am only guessing here.

So, lets say I would want to extend the component with these peaces of code (android, iOS.h/iOS.m) and expose something like this on the frontside in react-native:

<MapView.UrlTile
    urlTemplate={someURL}
    />
</MapView>

How would I go on about it? For every hint I am grateful.

@facebook facebook locked as resolved and limited conversation to collaborators Sep 21, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Sep 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants