Skip to content

Commit

Permalink
💫 Update: Ex - ModalSheetViewTest01
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Sep 26, 2024
1 parent 4467ed9 commit 298dff2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/src/examples/ModalSheetViewTest01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as React from 'react';
import { StyleSheet, Text, TouchableOpacity } from 'react-native';

import { ExampleItemCard, ObjectPropertyDisplay, CardButton, Colors } from 'react-native-ios-utilities';
import { ModalSheetView, ModalSheetViewContent, type ModalSheetViewRef } from 'react-native-ios-modal';
import { ModalSheetView, ModalSheetViewMainContent, type ModalSheetViewRef } from 'react-native-ios-modal';

import type { ExampleItemProps } from './SharedExampleTypes';

Expand Down Expand Up @@ -38,7 +38,7 @@ export function ModalSheetViewTest01(props: ExampleItemProps) {
<ModalSheetView
ref={ref => modalSheetViewRef.current = ref}
>
<ModalSheetViewContent
<ModalSheetViewMainContent
contentContainerStyle={styles.modalContent}
>
<ExampleItemCard
Expand All @@ -61,7 +61,7 @@ export function ModalSheetViewTest01(props: ExampleItemProps) {
}}
/>
</ExampleItemCard>
</ModalSheetViewContent>
</ModalSheetViewMainContent>
</ModalSheetView>
</ExampleItemCard>
);
Expand Down

0 comments on commit 298dff2

Please sign in to comment.