Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from eugene-manuilov/release/0.3.1
Browse files Browse the repository at this point in the history
Release/0.3.1
  • Loading branch information
eugene-manuilov authored Jun 28, 2017
2 parents 1778757 + 56bc007 commit e1d938a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## v0.3.1 (2017-06-28)

**Fixed issues:**

- Fixed warning which happened when children prop was a node.

## v0.3.0 (2017-06-26)

**Implemented enhancements:**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# react-gettext 0.3.0
# react-gettext 0.3.1

[![Build Status](https://travis-ci.org/eugene-manuilov/react-gettext.svg?branch=master)](https://travis-ci.org/eugene-manuilov/react-gettext)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"bugs": {
"url": "https://github.com/eugene-manuilov/react-gettext/issues"
},
"version": "0.3.0",
"version": "0.3.1",
"main": "lib/index",
"files": [
"*.md",
Expand Down
5 changes: 4 additions & 1 deletion src/Textdomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ Textdomain.propTypes = {
PropTypes.func,
PropTypes.string,
]),
children: PropTypes.arrayOf(PropTypes.node),
children: PropTypes.oneOfType([
PropTypes.node,
PropTypes.arrayOf(PropTypes.node),
]),
};

Textdomain.defaultProps = {
Expand Down

0 comments on commit e1d938a

Please sign in to comment.