Skip to content

Commit 5a5edf4

Browse files
committed
🐛 remove incorrect custom style types that led to ts errors
1 parent 98ce784 commit 5a5edf4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/components/TimerPickerModal.styles.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
/* eslint-disable @typescript-eslint/no-explicit-any */
2-
import { StyleSheet, Text, View } from "react-native";
2+
import { StyleSheet } from "react-native";
33

44
import type { CustomTimerPickerStyles } from "./TimerPicker/TimerPicker.styles";
5-
import { ComponentProps } from "react";
65

76
export interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {
8-
container?: ComponentProps<typeof View>;
9-
contentContainer?: ComponentProps<typeof View>;
10-
buttonContainer?: ComponentProps<typeof View>;
11-
button?: ComponentProps<typeof Text>;
12-
cancelButton?: ComponentProps<typeof Text>;
13-
confirmButton?: ComponentProps<typeof Text>;
14-
modalTitle?: ComponentProps<typeof Text>;
7+
container?: any;
8+
contentContainer?: any;
9+
buttonContainer?: any;
10+
button?: any;
11+
cancelButton?: any;
12+
confirmButton?: any;
13+
modalTitle?: any;
1514
}
1615

1716
const DARK_MODE_BACKGROUND_COLOR = "#232323";

0 commit comments

Comments
 (0)