From: yiminghe Date: Tue, 25 Oct 2016 09:41:51 +0000 (+0800) Subject: add addon prop X-Git-Tag: 2.1.0 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f429b4a79df25c9eadc3901e2483716835cc7de7;hp=5d0443410afb55ab320db946e626f621b64f43b1;p=github%2Ffretlink%2Ftime-picker.git add addon prop --- diff --git a/HISTORY.md b/HISTORY.md index 8cfc326..214f3bb 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,11 @@ --- +2.1.0 / 2016-10-25 +--------------------------- + +support addon prop + 2.0.0 / 2016-08-04 --------------------------- diff --git a/package.json b/package.json index 9d98e8a..74066e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-time-picker", - "version": "2.0.2", + "version": "2.1.0", "description": "React TimePicker", "keywords": [ "react", diff --git a/src/Header.jsx b/src/Header.jsx index 4196ea9..2ef9827 100644 --- a/src/Header.jsx +++ b/src/Header.jsx @@ -151,14 +151,16 @@ const Header = React.createClass({ const { prefixCls, placeholder } = this.props; const { invalid, str } = this.state; const invalidClass = invalid ? `${prefixCls}-input-invalid` : ''; - return (); + return ( + + ); }, render() {