Skip to content

Commit

Permalink
Merge pull request #289 from meteorlxy/meteorlxy/modal-view-style
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoffelen authored Apr 17, 2024
2 parents c2746cc + 2f9e6c6 commit 28595a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export interface PopupProps {
onCancelPressed: () => void;
style?: {
container?: ViewStyle;
modalView?: ViewStyle;
itemContainer?: ViewStyle;
image?: ImageStyle;
itemText?: TextStyle;
Expand Down Expand Up @@ -95,7 +96,7 @@ export const Popup: React.FC<PopupProps> = ({
}}
{...modalProps}>
<View style={[styles.container, style.container]}>
<View style={styles.modalView}>
<View style={[styles.modalView, style.modalView]}>
<PopupHeader
showHeader={showHeader}
customHeader={customHeader}
Expand All @@ -112,10 +113,7 @@ export const Popup: React.FC<PopupProps> = ({
<PopupFooter
customFooter={customFooter}
onCancelPressed={onCancelPressed}
style={{
cancelButtonContainer: style.cancelButtonContainer,
cancelButtonText: style.cancelButtonText,
}}
style={style}
options={options}
/>
</View>
Expand Down

0 comments on commit 28595a1

Please sign in to comment.