Skip to content

Commit 3af5c08

Browse files
committed
fix:theme
1 parent f1b17e0 commit 3af5c08

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package/src/components/UIComponents/BottomSheetModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const BottomSheetModal = (props: PropsWithChildren<BottomSheetModalProps>
4545
const { children, height = windowHeight / 2, onClose, visible } = props;
4646
const {
4747
theme: {
48-
bottomSheetModal: { container, contentContainer, handle, overlay: overlayTheme },
48+
bottomSheetModal: { container, contentContainer, handle, overlay: overlayTheme, wrapper },
4949
colors: { grey, overlay, white_snow },
5050
},
5151
} = useTheme();
@@ -119,7 +119,7 @@ export const BottomSheetModal = (props: PropsWithChildren<BottomSheetModalProps>
119119
});
120120

121121
return (
122-
<View style={styles.wrapper}>
122+
<View style={[styles.wrapper, wrapper]}>
123123
<Modal onRequestClose={onClose} transparent visible={visible}>
124124
<GestureHandlerRootView style={{ flex: 1 }}>
125125
<GestureDetector gesture={gesture}>

package/src/contexts/themeContext/utils/theme.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ export type Theme = {
132132
contentContainer: ViewStyle;
133133
handle: ViewStyle;
134134
overlay: ViewStyle;
135+
wrapper: ViewStyle;
135136
};
136137
channel: {
137138
selectChannel: TextStyle;
@@ -892,6 +893,7 @@ export const defaultTheme: Theme = {
892893
contentContainer: {},
893894
handle: {},
894895
overlay: {},
896+
wrapper: {},
895897
},
896898
channel: {
897899
selectChannel: {},

0 commit comments

Comments
 (0)