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

Support React Native #74

Open
steida opened this issue Jul 16, 2016 · 2 comments
Open

Support React Native #74

steida opened this issue Jul 16, 2016 · 2 comments

Comments

@steida
Copy link

steida commented Jul 16, 2016

This is just an idea since I'm not sure yet what is the best approach. The code for native version is very simple: https://github.com/niborb/react-native-gravatar/blob/master/index.js

Suggested React Native import syntax:

import Gravatar from 'react-gravatar/native';

@KyleAMathews
Copy link
Owner

I'd support a PR adding this. I don't use React Native right now but it makes a lot of sense to support it. It should use the same props though as the web version.

@steida
Copy link
Author

steida commented Jul 28, 2016

The first step should be children as function. Then we can use RN specific elements.

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

No branches or pull requests

2 participants