Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit f3a60f3

Browse files
committed
Adds update warning to README
1 parent 4f929e7 commit f3a60f3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,17 @@ DateTimeField
3838
| **showToday** | boolean | true | Highlights today's date |
3939
| **daysOfWeekDisabled** | array of integer | [] | Disables clicking on some days. Goes from 0 (Sunday) to 6 (Saturday). |
4040

41+
Update Warning
42+
===============================
43+
Starting from 0.0.6, the 3 github repositories `react-bootstrap-datetimepicker`, `react-bootstrap-datetimepicker-npm` and `react-bootstrap-datetimepicker-bower` are merged in a single one. The build process changed but the API is the same.
44+
However now the package exports DateTimeField directly, no need to do :
45+
```javascript
46+
var DateTimeField = require('react-bootstrap-datetimepicker').DateTimeField;
47+
```
48+
instead use :
49+
```javascript
50+
var DateTimeField = require('react-bootstrap-datetimepicker');
51+
```
4152

4253
Contributions
4354
===============================

0 commit comments

Comments
 (0)