We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c363a9 commit 8937a76Copy full SHA for 8937a76
README.md
@@ -1,4 +1,21 @@
1
-react-datepicker
2
-================
+#react-datepicker
3
4
-Datepicker component for application using Facebook React
+Datepicker component for applications based on Facebook React library.
+
5
+##Usage
6
+Standalone datepicker element. It can perform action if date is selected. Parameters are optional.
7
8
+```
9
+var callback = function(date) {
10
+ alert('new selected date is: '+date);
11
+}
12
13
+<Datepicker date={new Date()} onChangeDate={callback} show={true} />
14
15
16
+This library contains own datepicker integration with input element.
17
+All parameters are optional.
18
+Default: date = new Date()
19
20
+<DatepickerInput date={new Date()} />
21
0 commit comments