Skip to content

Commit 6ed7764

Browse files
refactor: rename PDFViewBaseProps to PDFViewProps for clarity
1 parent aab7dd0 commit 6ed7764

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/components/PDFView/types.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {GestureResponderEvent, StyleProp, ViewStyle} from 'react-native';
22

3-
type PDFViewBaseProps = {
3+
type PDFViewProps = {
44
/** URL to full-sized image */
55
sourceURL: string;
66

@@ -32,9 +32,7 @@ type PDFViewBaseProps = {
3232
isUsedAsChatAttachment?: boolean;
3333
};
3434

35-
type PDFViewProps = PDFViewBaseProps;
36-
37-
type PDFViewNativeProps = PDFViewBaseProps & {
35+
type PDFViewNativeProps = PDFViewProps & {
3836
onPress?: (page: number, x: number, y: number) => void;
3937
};
4038

0 commit comments

Comments
 (0)