From 11a6cd51a2bec2e7a446a1f699439409f627a8a5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 15 Sep 2017 21:41:32 +0800 Subject: [PATCH] Fix zIndex types, close #7622 --- components/modal/Modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 3e3af69ac8..6182e1fe04 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -40,7 +40,7 @@ export interface ModalProps { transitionName?: string; className?: string; getContainer?: (instance: React.ReactInstance) => HTMLElement; - zIndex?: boolean; + zIndex?: number; } export interface ModalContext {