aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html35
1 files changed, 24 insertions, 11 deletions
diff --git a/index.html b/index.html
index 7f5d7bd..32b2efa 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
7 <meta charset="utf-8"/> 7 <meta charset="utf-8"/>
8 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 8 <meta http-equiv="X-UA-Compatible" content="IE=edge">
9 <link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" rel="stylesheet"/> 9 <link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" rel="stylesheet"/>
10 <title>rc-time-picker@1.1.6 - React TimePicker</title> 10 <title>rc-time-picker@2.0.0 - React TimePicker</title>
11 <style> 11 <style>
12 @font-face { 12 @font-face {
13 font-family: octicons-anchor; 13 font-family: octicons-anchor;
@@ -737,7 +737,7 @@
737 737
738<body> 738<body>
739<div class="header"> 739<div class="header">
740 <h1>rc-time-picker@1.1.6</h1> 740 <h1>rc-time-picker@2.0.0</h1>
741</div> 741</div>
742<div class="examples"> 742<div class="examples">
743 <h3>EXAMPLES</h3> 743 <h3>EXAMPLES</h3>
@@ -766,8 +766,8 @@
766<a href="http://nodejs.org/download/" title="null"><img src="https://img.shields.io/badge/node.js-%3E=_4.0.0-green.svg?style=flat-square" alt="node version"></a> 766<a href="http://nodejs.org/download/" title="null"><img src="https://img.shields.io/badge/node.js-%3E=_4.0.0-green.svg?style=flat-square" alt="node version"></a>
767<a href="https://npmjs.org/package/rc-time-picker" title="null"><img src="https://img.shields.io/npm/dm/rc-time-picker.svg?style=flat-square" alt="npm download"></a></p> 767<a href="https://npmjs.org/package/rc-time-picker" title="null"><img src="https://img.shields.io/npm/dm/rc-time-picker.svg?style=flat-square" alt="npm download"></a></p>
768<h2>example<a id="user-content-example" name="example" class="anchor" aria-hidden="true" href="#example"><span class="octicon octicon-link"></span></a></h2><p><a href="http://react-component.github.io/time-picker/" title="null">http://react-component.github.io/time-picker/</a></p> 768<h2>example<a id="user-content-example" name="example" class="anchor" aria-hidden="true" href="#example"><span class="octicon octicon-link"></span></a></h2><p><a href="http://react-component.github.io/time-picker/" title="null">http://react-component.github.io/time-picker/</a></p>
769<h2>install<a id="user-content-install" name="install" class="anchor" aria-hidden="true" href="#install"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm install rc-time-picker</code></pre></div><h2>Usage<a id="user-content-usage" name="usage" class="anchor" aria-hidden="true" href="#usage"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="js">import TimePicker from <span class="hljs-string">'rc-time-picker'</span>; 769<h2>install<a id="user-content-install" name="install" class="anchor" aria-hidden="true" href="#install"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm install rc-time-picker</code></pre></div><h2>Usage<a id="user-content-usage" name="usage" class="anchor" aria-hidden="true" href="#usage"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="js"><span class="hljs-keyword">import</span> TimePicker <span class="hljs-keyword">from</span> <span class="hljs-string">'rc-time-picker'</span>;
770import ReactDOM from <span class="hljs-string">'react-dom'</span>; 770<span class="hljs-keyword">import</span> ReactDOM <span class="hljs-keyword">from</span> <span class="hljs-string">'react-dom'</span>;
771ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">TimePicker</span> /&gt;</span>, container);</span></code></pre></div><h2>API<a id="user-content-api" name="api" class="anchor" aria-hidden="true" href="#api"><span class="octicon octicon-link"></span></a></h2><h3>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h3><table> 771ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">TimePicker</span> /&gt;</span>, container);</span></code></pre></div><h2>API<a id="user-content-api" name="api" class="anchor" aria-hidden="true" href="#api"><span class="octicon octicon-link"></span></a></h2><h3>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h3><table>
772<thead> 772<thead>
773<tr> 773<tr>
@@ -785,9 +785,9 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
785<td>prefixCls of this component</td> 785<td>prefixCls of this component</td>
786</tr> 786</tr>
787<tr> 787<tr>
788<td>locale</td> 788<td>clearText</td>
789<td>Object</td> 789<td>String</td>
790<td>import from &#39;rc-time-picker/lib/locale/en_US&#39;</td> 790<td>&#39;clear&#39;</td>
791<td></td> 791<td></td>
792</tr> 792</tr>
793<tr> 793<tr>
@@ -797,6 +797,12 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
797<td>whether picker is disabled</td> 797<td>whether picker is disabled</td>
798</tr> 798</tr>
799<tr> 799<tr>
800<td>clearText</td>
801<td>String</td>
802<td>clear</td>
803<td>clear text</td>
804</tr>
805<tr>
800<td>open</td> 806<td>open</td>
801<td>Boolean</td> 807<td>Boolean</td>
802<td>false</td> 808<td>false</td>
@@ -804,13 +810,19 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
804</tr> 810</tr>
805<tr> 811<tr>
806<td>defaultValue</td> 812<td>defaultValue</td>
807<td>GregorianCalendar</td> 813<td>moment</td>
808<td>null</td> 814<td>null</td>
809<td>default initial value</td> 815<td>default initial value</td>
810</tr> 816</tr>
811<tr> 817<tr>
818<td>defaultOpenValue</td>
819<td>moment</td>
820<td>moment()</td>
821<td>default open panel value, used to set utcOffset,locale if value/defaultValue absent</td>
822</tr>
823<tr>
812<td>value</td> 824<td>value</td>
813<td>GregorianCalendar</td> 825<td>moment</td>
814<td>null</td> 826<td>null</td>
815<td>current value</td> 827<td>current value</td>
816</tr> 828</tr>
@@ -833,9 +845,8 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
833<td></td> 845<td></td>
834</tr> 846</tr>
835<tr> 847<tr>
836<td>formatter</td> 848<td>format</td>
837<td>String</td> 849<td>String</td>
838<td>GregorianCalendarFormatter</td>
839<td></td> 850<td></td>
840<td></td> 851<td></td>
841</tr> 852</tr>
@@ -882,6 +893,8 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
882</tr> 893</tr>
883</tbody> 894</tbody>
884</table> 895</table>
896<h2>Test Case<a id="user-content-test-case" name="test-case" class="anchor" aria-hidden="true" href="#test-case"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm test
897npm run chrome-test</code></pre></div><h2>Coverage<a id="user-content-coverage" name="coverage" class="anchor" aria-hidden="true" href="#coverage"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm run coverage</code></pre></div><p>open coverage/ dir</p>
885<h2>License<a id="user-content-license" name="license" class="anchor" aria-hidden="true" href="#license"><span class="octicon octicon-link"></span></a></h2><p>rc-time-picker is released under the MIT license.</p> 898<h2>License<a id="user-content-license" name="license" class="anchor" aria-hidden="true" href="#license"><span class="octicon octicon-link"></span></a></h2><p>rc-time-picker is released under the MIT license.</p>
886 899
887 </div> 900 </div>