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

Fix #11 (support for react-native Text component). #13

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

cknitt
Copy link
Member

@cknitt cknitt commented Sep 14, 2018

This fixes #11 and allows you to use bs-react-intl with React Native as follows:

[@bs.module "react-native"] external textComponent: ReasonReact.reactClass = "Text";

...

<IntlProvider ?messages textComponent={ReactComponent(textComponent)}>
  ...
</IntlProvider>;

@cknitt cknitt mentioned this pull request Sep 14, 2018
@alex35mil
Copy link
Collaborator

Thanks!

@alex35mil alex35mil merged commit d42caab into cca-io:master Sep 14, 2018
@alex35mil
Copy link
Collaborator

@cknitt I can add you to collaborators of this project so you don't have to deal w/ maintaining a fork and work directly w/ branches in this repo. Give 👍if it sgty.

@cknitt
Copy link
Member Author

cknitt commented Sep 14, 2018

👍 Thanks, that would be great. 😀

@alex35mil
Copy link
Collaborator

Awesome, sent you invite and released 0.6.0.

@cknitt cknitt deleted the feature/react-native-text-component branch September 15, 2018 05:31
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.

React Native
2 participants