-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtype.d.ts
More file actions
57 lines (49 loc) · 1.07 KB
/
Copy pathtype.d.ts
File metadata and controls
57 lines (49 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import type { ImageSourcePropType } from "react-native";
declare global {
interface AppTab {
name: string;
title: string;
icon: ImageSourcePropType;
}
interface TabIconProps {
focused: boolean;
icon: ImageSourcePropType;
}
interface Subscription {
id: string;
icon: ImageSourcePropType;
name: string;
plan?: string;
category?: string;
paymentMethod?: string;
status?: string;
startDate?: string;
price: number;
currency?: string;
billing: string;
renewalDate?: string;
color?: string;
}
interface SubscriptionCardProps extends Omit<Subscription, "id"> {
expanded: boolean;
onPress: () => void;
onCancelPress?: () => void;
isCancelling?: boolean;
}
interface UpcomingSubscription {
id: string;
icon: ImageSourcePropType;
name: string;
price: number;
currency?: string;
daysLeft: number;
}
interface UpcomingSubscriptionCardProps extends Omit<
UpcomingSubscription,
"id"
> {}
interface ListHeadingProps {
title: string;
}
}
export {};