This repository was archived by the owner on Jan 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## v0.3.1 (2017-06-28)
4+
5+ ** Fixed issues:**
6+
7+ - Fixed warning which happened when children prop was a node.
8+
39## v0.3.0 (2017-06-26)
410
511** Implemented enhancements:**
Original file line number Diff line number Diff line change 1- # react-gettext 0.3.0
1+ # react-gettext 0.3.1
22
33[ ![ Build Status] ( https://travis-ci.org/eugene-manuilov/react-gettext.svg?branch=master )] ( https://travis-ci.org/eugene-manuilov/react-gettext )
44
Original file line number Diff line number Diff line change 77 "bugs" : {
88 "url" : " https://github.com/eugene-manuilov/react-gettext/issues"
99 },
10- "version" : " 0.3.0 " ,
10+ "version" : " 0.3.1 " ,
1111 "main" : " lib/index" ,
1212 "files" : [
1313 " *.md" ,
Original file line number Diff line number Diff line change @@ -114,7 +114,10 @@ Textdomain.propTypes = {
114114 PropTypes . func ,
115115 PropTypes . string ,
116116 ] ) ,
117- children : PropTypes . arrayOf ( PropTypes . node ) ,
117+ children : PropTypes . oneOfType ( [
118+ PropTypes . node ,
119+ PropTypes . arrayOf ( PropTypes . node ) ,
120+ ] ) ,
118121} ;
119122
120123Textdomain . defaultProps = {
You can’t perform that action at this time.
0 commit comments