Skip to content

Commit

Permalink
[DatePicker] Added disabled property and example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejunges committed Jan 29, 2016
1 parent e9523fc commit 1b1ceb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const DatePickerExampleSimple = () => (
<div>
<DatePicker hintText="Portrait Dialog" />
<DatePicker hintText="Landscape Dialog" mode="landscape" />
<DatePicker hintText="Portrait Dialog" disabled={true} />
</div>
);

Expand Down
1 change: 1 addition & 0 deletions src/date-picker/date-picker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ const DatePicker = React.createClass({
formatDate: DateTime.format,
autoOk: false,
disableYearSelection: false,
disabled: false,
style: {},
firstDayOfWeek: 0,
};
Expand Down

0 comments on commit 1b1ceb5

Please sign in to comment.