From 64e1e727e124d795ad95566d81fbe1b50a46d39e Mon Sep 17 00:00:00 2001 From: Anil K <17314602+anil4224@users.noreply.github.com> Date: Fri, 13 Nov 2020 07:06:51 +0530 Subject: [PATCH] Update index.d.ts startMode should be string & for month picker need use startMode='month' and fixedMode then directly taking month view on popover --- index.d.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/index.d.ts b/index.d.ts index d00e13e..6ec9c27 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,11 +1,7 @@ import * as React from 'react'; import * as moment from 'moment'; -export type Mode = { - 'day': string, - 'month': string, - 'year': string -}; +export type Mode = 'day' | 'month' | 'year'; export type Position = 'top' | 'bottom';