diff --git a/example/src/examples/ModalSheetViewTest04.tsx b/example/src/examples/ModalSheetViewTest04.tsx index fd8734a..2d2b3d9 100644 --- a/example/src/examples/ModalSheetViewTest04.tsx +++ b/example/src/examples/ModalSheetViewTest04.tsx @@ -3,7 +3,7 @@ import * as React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { ExampleItemCard, CardButton, Colors } from 'react-native-ios-utilities'; -import { ModalSheetView, ModalSheetViewContext, ModalSheetMainContent, type ModalSheetViewRef, ModalSheetViewBottomAttachedContentOverlay } from 'react-native-ios-modal'; +import { ModalSheetView, ModalSheetViewContext, ModalSheetMainContent, type ModalSheetViewRef, ModalSheetBottomAttachedContentOverlay } from 'react-native-ios-modal'; import type { ExampleItemProps } from './SharedExampleTypes'; @@ -41,7 +41,7 @@ export function ModalSheetViewTest04(props: ExampleItemProps) { - @@ -49,7 +49,7 @@ export function ModalSheetViewTest04(props: ExampleItemProps) { {'Bottom Content'} - + ); diff --git a/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlay.tsx b/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlay.tsx index 1cc2995..714685d 100644 --- a/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlay.tsx +++ b/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlay.tsx @@ -3,11 +3,11 @@ import * as React from 'react'; import { ModalSheetContent } from './ModalSheetContent'; import { ModalSheetViewNativeIDKeys } from '../ModalSheetView/ModalSheetViewNativeIDKeys'; -import type { ModalSheetViewBottomAttachedContentOverlayProps } from './ModalSheetBottomAttachedContentOverlayTypes'; +import type { ModalSheetBottomAttachedContentOverlayProps } from './ModalSheetBottomAttachedContentOverlayTypes'; -export function ModalSheetViewBottomAttachedContentOverlay( - props: React.PropsWithChildren +export function ModalSheetBottomAttachedContentOverlay( + props: React.PropsWithChildren ) { const { children, ...otherProps } = props; return ( diff --git a/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlayTypes.ts b/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlayTypes.ts index 251189b..e48980e 100644 --- a/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlayTypes.ts +++ b/src/components/ModalSheetContent/ModalSheetBottomAttachedContentOverlayTypes.ts @@ -1,13 +1,13 @@ import type { ModalSheetContentProps } from './ModalSheetContentTypes'; -export type ModalSheetViewBottomAttachedContentOverlayInheritedProps = Pick; -export type ModalSheetViewBottomAttachedContentOverlayBaseProps = { +export type ModalSheetBottomAttachedContentOverlayBaseProps = { }; -export type ModalSheetViewBottomAttachedContentOverlayProps = - & ModalSheetViewBottomAttachedContentOverlayInheritedProps - & ModalSheetViewBottomAttachedContentOverlayBaseProps; \ No newline at end of file +export type ModalSheetBottomAttachedContentOverlayProps = + & ModalSheetBottomAttachedContentOverlayInheritedProps + & ModalSheetBottomAttachedContentOverlayBaseProps; \ No newline at end of file