bs-react-intl
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "bs-react-intl", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "BuckleScript bindings to react-intl", | ||
@@ -5,0 +5,0 @@ "author": "Alex Fedoseev <alex.fedoseev@gmail.com>", |
@@ -5,2 +5,43 @@ # bs-react-intl | ||
Work in Progress. See `examples` folder. | ||
## Installation | ||
```shell | ||
# yarn / npm | ||
yarn add bs-react-intl | ||
npm install --save bs-react-intl | ||
``` | ||
## Examples | ||
Clone this repo. | ||
```shell | ||
yarn install | ||
yarn run build | ||
``` | ||
Then open some `*.html` from [`examples`](./examples) folder. | ||
## 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. Fell free to help me out and submit PR. | ||
- [x] addLocaleData | ||
- [x] intlShape | ||
- [x] injectIntl | ||
- [x] defineMessages | ||
- [x] IntlProvider | ||
- [ ] FormattedDate | ||
- [ ] FormattedDate (children-as-function) | ||
- [ ] 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) | ||
- [ ] FormattedHTMLMessage | ||
- [ ] FormattedHTMLMessage (children-as-function) | ||
## Usage | ||
See [`examples`](./examples) folder. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19775
47