From c276ecf7e6e9cc40656028f2ea69e1f2555d66c9 Mon Sep 17 00:00:00 2001
From: Suvish Varghese Thoovamalayil <suvisht@thoughtworks.com>
Date: Thu, 08 Feb 2018 20:56:08 +0100
Subject: [PATCH] Allow specifying viewDate as a prop, fixes #468

---
 DateTime.d.ts |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/DateTime.d.ts b/DateTime.d.ts
index 50b9cf3..ae2a8b9 100644
--- a/DateTime.d.ts
+++ b/DateTime.d.ts
@@ -42,6 +42,11 @@
          */
         defaultValue?: Date | string | Moment;
         /*
+         Represents the month which is viewed on opening the calendar when there is no selected date.
+         This prop is parsed by Moment.js, so it is possible to use a date `string` or a `moment` object.
+         */
+        viewDate?: Date | string | Moment;
+        /*
          Defines the format for the date. It accepts any moment.js date format.
          If true the date will be displayed using the defaults for the current locale.
          If false the datepicker is disabled and the component can be used as timepicker.

--
Gitblit v1.9.3