From d3f3cceef0c5effb87bd44dc973a7396022e21b9 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Tue, 16 Apr 2024 19:52:46 +0800 Subject: [PATCH] feat: support customizing modalView style --- src/components/popup/Popup.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/popup/Popup.tsx b/src/components/popup/Popup.tsx index e822f73..e1e34b4 100644 --- a/src/components/popup/Popup.tsx +++ b/src/components/popup/Popup.tsx @@ -19,6 +19,7 @@ export interface PopupProps { onCancelPressed: () => void; style?: { container?: ViewStyle; + modalView?: ViewStyle; itemContainer?: ViewStyle; image?: ImageStyle; itemText?: TextStyle; @@ -95,7 +96,7 @@ export const Popup: React.FC = ({ }} {...modalProps}> - + = ({