Fix type for DatePickerProps formatDate

This commit is contained in:
Marcel Ernst committed 2015-12-17 15:54:50 +01:00
1 parent 78ba6e4154
commit 4f245aafeb
1 file changed
+1 -1
+1 -1
View File
@@ -319,7 +319,7 @@ declare namespace __MaterialUI {
interface DatePickerProps extends React.Props<DatePicker> {
autoOk?: boolean;
defaultDate?: Date;
formatDate?: string;
formatDate?: (date:Date) => string;
hintText?: string;
floatingLabelText?: string;
hideToolbarYearChange?: boolean;