Change the disableAutoFocus from string to boolean (#34945)

The disableAutoFocus field has to be a boolean. At least in the latest version 2.6.8
This commit is contained in:
Babette
2019-04-24 12:30:49 -05:00
committed by Pranav Senthilnathan
parent 5e6fe8cbf2
commit 4b990527b1
+1 -1
View File
@@ -34,7 +34,7 @@ export interface Props {
customBurgerIcon?: JSX.Element | false;
customCrossIcon?: JSX.Element | false;
customOnKeyDown?(event: React.KeyboardEvent): void;
disableAutoFocus?: string;
disableAutoFocus?: boolean;
disableCloseOnEsc?: boolean;
disableOverlayClick?: boolean;
htmlClassName?: string;