From dedea6c39823482dd57f2448e21bb9ebb4a379b4 Mon Sep 17 00:00:00 2001 From: Manuel Alabor Date: Fri, 4 Mar 2016 13:42:00 +0100 Subject: [PATCH] Add inputFieldClass and disabled prop parameters to typings for react-input-calendar --- react-input-calendar/react-input-calendar.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/react-input-calendar/react-input-calendar.d.ts b/react-input-calendar/react-input-calendar.d.ts index bd2da99e8..169309d00 100644 --- a/react-input-calendar/react-input-calendar.d.ts +++ b/react-input-calendar/react-input-calendar.d.ts @@ -55,6 +55,14 @@ declare module reactInputCalendar { * Id that should be applied to the input field. Useful when using it with a label element. */ inputFieldId?: string; + /** + * Define the class name of the input field where the date picker represents its value. + */ + inputFieldClass?: string; + /** + * If true, the input field gets disabled and the icon next to it disappears. + */ + disabled?: boolean; } interface ReactInputCalendarState { } export class ReactInputCalendar extends __React.Component {