Merge pull request #15342 from squirly/patch-2

@types/react-dates: Add `null` as valid value for FocusedInputShape
This commit is contained in:
Paul van Brenk
2017-03-23 14:07:39 -07:00
committed by GitHub
+1 -1
View File
@@ -18,7 +18,7 @@ declare namespace momentPropTypes{
declare namespace ReactDates{
type AnchorDirectionShape = 'left' | 'right';
type FocusedInputShape = 'startDate' | 'endDate';
type FocusedInputShape = 'startDate' | 'endDate' | null;
type OrientationShape = 'horizontal' | 'vertical';
type ScrollableOrientationShape = 'horizontal' | 'vertical' | 'verticalScrollable';