Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into MortalFlesh-master
  • Loading branch information
Remon Oldenbeuving committed May 22, 2015
2 parents 2fe9872 + 9b14470 commit fa3968e
Show file tree
Hide file tree
Showing 8 changed files with 14,317 additions and 14,229 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ A simple and reusable datepicker component for React ([Demo](http://cdn.rawgit.c
- Change date format by passing a different date format in the props: `dateFormat: "YYYY/MM/DD"`
- Add placeholder text: `placeholderText: 'Click to select a date'` (Defaults to the selected date when no placeholder text is added)
- Give users a predefined date range: `minDate: moment()` & `maxDate: moment().add(5, 'days')` (this gives users the ability to select a date between today and 5 days in the future)
- Set custom moment.js instance (could have defined custom locale settings): `moment: require('./foo/moment')`
- Set custom locale settings for locale: `locale: "cs"`
- Set date format for callendar: `dateFormatCallendar: "YYYY/MM/DD"`
- Set custom weekdays (for locale days): `weekdays: ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So']`

## Installation

Expand Down
Loading

0 comments on commit fa3968e

Please sign in to comment.