You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2018. It is now read-only.
- Bugfix selecting days from previous or next month from the current viewed month.
- Bugfix adding keys to children in year and month view.
- Feature adding different modes to be able to have datepicker, timepicker, or datetimepicker.
Copy file name to clipboardExpand all lines: examples/basic/basic.jsx
+61-43Lines changed: 61 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -4,52 +4,70 @@ var DateTimeField = require('react-bootstrap-datetimepicker');
4
4
varBasic=React.createClass({
5
5
6
6
render: function(){
7
-
return<divclassName="container">
8
-
<divclassName="row">
9
-
<divclassName="col-xs-12">
10
-
<h1>React Bootstrap DateTimePicker</h1>
11
-
This project is a port of <ahref="https://github.com/Eonasdan/bootstrap-datetimepicker">https://github.com/Eonasdan/bootstrap-datetimepicker</a> for React.js
12
-
</div>
13
-
</div>
14
-
<divclassName="row">
15
-
<divclassName="col-xs-12">
16
-
Default Basic Example
17
-
<DateTimeField/>
18
-
<pre>{'<DateTimeField />'}</pre>
19
-
</div>
20
-
</div>
21
-
<divclassName="row">
22
-
<divclassName="col-xs-12">
23
-
Example with default Text
24
-
<DateTimeField
25
-
defaultText="Please select a date"
26
-
/>
27
-
<pre>{'<DateTimeField defaultText="Please select a date" />'}</pre>
28
-
</div>
29
-
</div>
30
-
<divclassName="row">
31
-
<divclassName="col-xs-12">
32
-
ViewMode set to years view with custom inputFormat
33
-
<DateTimeField
34
-
inputFormat='DD-MM-YYYY'
35
-
viewMode='years'
7
+
return(
8
+
<divclassName="container">
9
+
<divclassName="row">
10
+
<divclassName="col-xs-12">
11
+
<h1>React Bootstrap DateTimePicker</h1>
12
+
This project is a port of <ahref="https://github.com/Eonasdan/bootstrap-datetimepicker">https://github.com/Eonasdan/bootstrap-datetimepicker</a> for React.js
0 commit comments