aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html70
1 files changed, 17 insertions, 53 deletions
diff --git a/index.html b/index.html
index 45a269e..d66f4ce 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@0.2.0 - React TimePicker</title> 10 <title>rc-time-picker@0.3.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@0.2.0</h1> 740 <h1>rc-time-picker@0.3.0</h1>
741</div> 741</div>
742<div class="examples"> 742<div class="examples">
743 <h3>EXAMPLES</h3> 743 <h3>EXAMPLES</h3>
@@ -756,7 +756,7 @@
756<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>; 756<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>;
757<span class="hljs-keyword">import</span> React <span class="hljs-keyword">from</span> <span class="hljs-string">'react'</span>; 757<span class="hljs-keyword">import</span> React <span class="hljs-keyword">from</span> <span class="hljs-string">'react'</span>;
758<span class="hljs-keyword">import</span> ReactDOM <span class="hljs-keyword">from</span> <span class="hljs-string">'react-dom'</span>; 758<span class="hljs-keyword">import</span> ReactDOM <span class="hljs-keyword">from</span> <span class="hljs-string">'react-dom'</span>;
759ReactDOM.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>TimePanel<a id="user-content-timepanel" name="timepanel" class="anchor" aria-hidden="true" href="#timepanel"><span class="octicon octicon-link"></span></a></h3><table> 759ReactDOM.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>
760<thead> 760<thead>
761<tr> 761<tr>
762<th>Name</th> 762<th>Name</th>
@@ -779,10 +779,22 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
779<td></td> 779<td></td>
780</tr> 780</tr>
781<tr> 781<tr>
782<td>defaultValue</td> 782<td>disabled</td>
783<td>Boolean</td>
784<td>false</td>
785<td>whether picker is disabled</td>
786</tr>
787<tr>
788<td>open</td>
789<td>Boolean</td>
790<td>false</td>
791<td>current open state of picker. controlled prop</td>
792</tr>
793<tr>
794<td>value</td>
783<td>GregorianCalendar</td> 795<td>GregorianCalendar</td>
784<td>null</td> 796<td>null</td>
785<td>defaultValue like input&#39;s defaultValue</td> 797<td>current value like input&#39;s value</td>
786</tr> 798</tr>
787<tr> 799<tr>
788<td>placeholder</td> 800<td>placeholder</td>
@@ -818,54 +830,6 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
818<td>onChange</td> 830<td>onChange</td>
819<td>Function</td> 831<td>Function</td>
820<td>null</td> 832<td>null</td>
821<td>called when input or select a different value</td>
822</tr>
823</tbody>
824</table>
825<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>
826<thead>
827<tr>
828<th>Name</th>
829<th>Type</th>
830<th>Default</th>
831<th>Description</th>
832</tr>
833</thead>
834<tbody>
835<tr>
836<td>prefixCls</td>
837<td>String</td>
838<td></td>
839<td>prefixCls of this component</td>
840</tr>
841<tr>
842<td>panel</td>
843<td>TimePanel React Element</td>
844<td></td>
845<td></td>
846</tr>
847<tr>
848<td>disabled</td>
849<td>Boolean</td>
850<td>false</td>
851<td>whether picker is disabled</td>
852</tr>
853<tr>
854<td>open</td>
855<td>Boolean</td>
856<td>false</td>
857<td>current open state of picker. controlled prop</td>
858</tr>
859<tr>
860<td>value</td>
861<td>GregorianCalendar</td>
862<td>null</td>
863<td>current value like input&#39;s value</td>
864</tr>
865<tr>
866<td>onChange</td>
867<td>Function</td>
868<td>null</td>
869<td>called when select a different value</td> 833<td>called when select a different value</td>
870</tr> 834</tr>
871<tr> 835<tr>