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.
Copy file name to clipboardExpand all lines: examples/basic/basic.jsx
+48-3Lines changed: 48 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,10 +3,55 @@ var DateTimeField = require('react-bootstrap-datetimepicker');
3
3
4
4
varBasic=React.createClass({
5
5
6
-
render(){
7
-
return<DateTimeField/>;
8
-
}
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
0 commit comments