From d5d66a8b34de70a1290661082bf79ac104b56ac6 Mon Sep 17 00:00:00 2001 From: Manzoor Wani Date: Wed, 23 Oct 2019 04:08:56 +0530 Subject: [PATCH] Add isInvalidDate prop to DatePicker (#17498) --- packages/components/src/date-time/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/components/src/date-time/index.js b/packages/components/src/date-time/index.js index 97bd891cac9a7c..bb7434d2e82ce3 100644 --- a/packages/components/src/date-time/index.js +++ b/packages/components/src/date-time/index.js @@ -34,7 +34,7 @@ export class DateTimePicker extends Component { } render() { - const { currentDate, is12Hour, onChange } = this.props; + const { currentDate, is12Hour, isInvalidDate, onChange } = this.props; return (
@@ -48,6 +48,7 @@ export class DateTimePicker extends Component { ) }