From fa6899150ca59ccd0160b04b28a554aa4b031b95 Mon Sep 17 00:00:00 2001 From: "i.batlukov" Date: Fri, 17 Jun 2022 17:59:32 +0300 Subject: [PATCH] feat: forward display prop to Card component in SimpleModal for mobile. --- packages/mobile/src/modal/SimpleModal.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/mobile/src/modal/SimpleModal.tsx b/packages/mobile/src/modal/SimpleModal.tsx index 5a1ec6cc8..542ec474b 100644 --- a/packages/mobile/src/modal/SimpleModal.tsx +++ b/packages/mobile/src/modal/SimpleModal.tsx @@ -56,6 +56,7 @@ interface SimpleModalProps { zIndex?: number onShow?: () => void onHide?: () => void + displayContent?: 'none' | 'inline' | 'block' | 'contents' | 'flex' | 'grid' | 'inline-block' | 'inline-flex' | 'table' } const SimpleModal: FunctionComponent = ({ @@ -68,6 +69,7 @@ const SimpleModal: FunctionComponent = ({ backdropClose, zIndex = 10050, closable, + displayContent, }) => ( stub ? ( @@ -100,7 +102,7 @@ const SimpleModal: FunctionComponent = ({ {...dialogProps} > - + {closable && onHide ? (