Skip to content

Commit

Permalink
🐛 remove incorrect custom style types that led to ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
troberts-28 committed Jan 16, 2024
1 parent 98ce784 commit 5a5edf4
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/components/TimerPickerModal.styles.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { StyleSheet, Text, View } from "react-native";
import { StyleSheet } from "react-native";

import type { CustomTimerPickerStyles } from "./TimerPicker/TimerPicker.styles";
import { ComponentProps } from "react";

export interface CustomTimerPickerModalStyles extends CustomTimerPickerStyles {
container?: ComponentProps<typeof View>;
contentContainer?: ComponentProps<typeof View>;
buttonContainer?: ComponentProps<typeof View>;
button?: ComponentProps<typeof Text>;
cancelButton?: ComponentProps<typeof Text>;
confirmButton?: ComponentProps<typeof Text>;
modalTitle?: ComponentProps<typeof Text>;
container?: any;
contentContainer?: any;
buttonContainer?: any;
button?: any;
cancelButton?: any;
confirmButton?: any;
modalTitle?: any;
}

const DARK_MODE_BACKGROUND_COLOR = "#232323";
Expand Down

0 comments on commit 5a5edf4

Please sign in to comment.