bs-react-intl
Advanced tools
Comparing version 0.9.0-beta.2 to 0.9.0-beta.3
{ | ||
"name": "bs-react-intl", | ||
"version": "0.9.0-beta.2", | ||
"version": "0.9.0-beta.3", | ||
"description": "BuckleScript bindings to react-intl", | ||
@@ -21,3 +21,3 @@ "author": "Alex Fedoseev <alex.fedoseev@gmail.com>", | ||
"bs-platform": "^5.0.3", | ||
"react-intl": "^2.7.1", | ||
"react-intl": "3.0.0-beta-8", | ||
"reason-react": "^0.7.0" | ||
@@ -33,3 +33,3 @@ }, | ||
"react-dom": "16.8.6", | ||
"react-intl": "3.0.0-beta-1", | ||
"react-intl": "3.0.0-beta-8", | ||
"reason-react": "0.7.0" | ||
@@ -36,0 +36,0 @@ }, |
@@ -5,3 +5,3 @@ # bs-react-intl | ||
[BuckleScript](https://bucklescript.github.io) bindings to [react-intl](https://github.com/yahoo/react-intl). | ||
[BuckleScript](https://bucklescript.github.io) bindings to [react-intl]. | ||
@@ -28,27 +28,7 @@ To extract messages from [Reason](https://reasonml.github.io) source files for localization, use [bs-react-intl-extractor](https://github.com/cknitt/bs-react-intl-extractor). | ||
## Status | ||
Despite lots of unchecked the most hard work is done. I'll add bindings to the rest of the components once I need them. Feel free to help me out and submit a PR. | ||
bs-react-intl should cover all of the [react-intl] 3.0.0 API. If you find anything missing, please file an issue. | ||
- [x] addLocaleData | ||
- [x] intlShape | ||
- [x] injectIntl | ||
- [x] defineMessages | ||
- [x] IntlProvider | ||
- [x] FormattedDate | ||
- [ ] FormattedDate (children-as-function) | ||
- [x] FormattedTime | ||
- [ ] FormattedTime (children-as-function) | ||
- [ ] FormattedRelative | ||
- [ ] FormattedRelative (children-as-function) | ||
- [ ] FormattedNumber | ||
- [ ] FormattedNumber (children-as-function) | ||
- [ ] FormattedPlural | ||
- [ ] FormattedPlural (children-as-function) | ||
- [x] FormattedMessage | ||
- [ ] FormattedMessage (children-as-function) | ||
- [x] DefinedMessage | ||
- [ ] DefinedMessage (children-as-function) | ||
- [ ] FormattedHTMLMessage | ||
- [ ] FormattedHTMLMessage (children-as-function) | ||
## Usage | ||
See [`examples`](./examples) folder. | ||
[react-intl]: https://github.com/formatjs/react-intl |
Sorry, the diff of this file is not supported yet
34764
32