@4alldigital/foundation-ui--gamma 1.48.0 → 1.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/foundation-ui.css +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/types/lib/components/Accordion/Accordion.d.ts +8 -0
- package/dist/types/lib/components/Accordion/Accordion.types.d.ts +8 -0
- package/dist/types/lib/components/Accordion/index.d.ts +1 -0
- package/dist/types/lib/components/Carousel/Carousel.types.d.ts +7 -1
- package/dist/types/lib/components/Header/Header.d.ts +1 -1
- package/dist/types/lib/components/Schedule/Schedule.d.ts +8 -0
- package/dist/types/lib/components/Schedule/Schedule.types.d.ts +73 -0
- package/dist/types/lib/components/Schedule/index.d.ts +1 -0
- package/dist/types/lib/components/ScheduleItem/ScheduleItem.d.ts +8 -0
- package/dist/types/lib/components/ScheduleItem/ScheduleItem.types.d.ts +8 -0
- package/dist/types/lib/components/ScheduleItem/index.d.ts +1 -0
- package/dist/types/lib/components/Screen/Screen.d.ts +8 -0
- package/dist/types/lib/components/Screen/index.d.ts +1 -0
- package/dist/types/lib/components/Video/Video.types.d.ts +1 -1
- package/dist/types/lib/constants/index.d.ts +3 -0
- package/dist/types/lib/context/App/index.d.ts +5 -0
- package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.d.ts +8 -0
- package/dist/types/lib/forms/SubscriptionForm/SubscriptionForm.types.d.ts +6 -0
- package/dist/types/lib/forms/SubscriptionForm/index.d.ts +1 -0
- package/dist/types/lib/index.d.ts +1 -0
- package/dist/types/lib/templates/AccountScreen/AccountScreen.d.ts +8 -0
- package/dist/types/lib/templates/AccountScreen/AccountScreen.types.d.ts +29 -0
- package/dist/types/lib/templates/AccountScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/AuthScreen/AuthScreen.d.ts +8 -0
- package/dist/types/lib/templates/AuthScreen/AuthScreen.types.d.ts +8 -0
- package/dist/types/lib/templates/AuthScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/CardGridScreen/CardGridScreen.d.ts +8 -0
- package/dist/types/lib/templates/CardGridScreen/CardGridScreen.types.d.ts +9 -0
- package/dist/types/lib/templates/CardGridScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.d.ts +8 -0
- package/dist/types/lib/templates/CatalogueScreen/CatalogueScreen.types.d.ts +7 -0
- package/dist/types/lib/templates/CatalogueScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.d.ts +8 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/ChallengeLibraryScreen.types.d.ts +9 -0
- package/dist/types/lib/templates/ChallengeLibraryScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.d.ts +8 -0
- package/dist/types/lib/templates/ChallengeScreen/ChallengeScreen.types.d.ts +19 -0
- package/dist/types/lib/templates/ChallengeScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ContentScreen/ContentScreen.d.ts +8 -0
- package/dist/types/lib/templates/ContentScreen/ContentScreen.types.d.ts +7 -0
- package/dist/types/lib/templates/ContentScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/DashboardScreen/DashboardScreen.d.ts +8 -0
- package/dist/types/lib/templates/DashboardScreen/DashboardScreen.types.d.ts +25 -0
- package/dist/types/lib/templates/DashboardScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/FAQScreen/FAQScreen.d.ts +8 -0
- package/dist/types/lib/templates/FAQScreen/FAQScreen.types.d.ts +14 -0
- package/dist/types/lib/templates/FAQScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/HomeScreen/HomeScreen.d.ts +8 -0
- package/dist/types/lib/templates/HomeScreen/HomeScreen.types.d.ts +5 -0
- package/dist/types/lib/templates/HomeScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/MenuScreen/MenuScreen.d.ts +8 -0
- package/dist/types/lib/templates/MenuScreen/MenuScreen.types.d.ts +11 -0
- package/dist/types/lib/templates/MenuScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ProfileScreen/ProfileScreen.d.ts +8 -0
- package/dist/types/lib/templates/ProfileScreen/ProfileScreen.types.d.ts +23 -0
- package/dist/types/lib/templates/ProfileScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.d.ts +8 -0
- package/dist/types/lib/templates/ScheduleScreen/ScheduleScreen.types.d.ts +8 -0
- package/dist/types/lib/templates/ScheduleScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.d.ts +8 -0
- package/dist/types/lib/templates/SubscriptionScreen/SubscriptionScreen.types.d.ts +25 -0
- package/dist/types/lib/templates/SubscriptionScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.d.ts +8 -0
- package/dist/types/lib/templates/WorkoutScreen/WorkoutScreen.types.d.ts +29 -0
- package/dist/types/lib/templates/WorkoutScreen/index.d.ts +1 -0
- package/dist/types/lib/templates/index.d.ts +30 -0
- package/dist/types/lib/utils/index.d.ts +1 -0
- package/package.json +5 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Props as CardProps } from
|
|
1
|
+
import { Props as CardProps } from '../Card/Card.types';
|
|
2
2
|
export interface Props {
|
|
3
3
|
testID?: string;
|
|
4
4
|
data: CardProps[];
|
|
@@ -14,5 +14,11 @@ export interface Props {
|
|
|
14
14
|
shouldScrollOnClick?: boolean;
|
|
15
15
|
showDots?: boolean;
|
|
16
16
|
showArrows?: boolean;
|
|
17
|
+
responsive?: {
|
|
18
|
+
breakpoint: number;
|
|
19
|
+
settings: {
|
|
20
|
+
slidesToShow: number;
|
|
21
|
+
};
|
|
22
|
+
}[];
|
|
17
23
|
};
|
|
18
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './Header.types';
|
|
3
3
|
declare const Header: {
|
|
4
|
-
({ testID,
|
|
4
|
+
({ testID, hideMenu, className, logoOnly, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Header;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export interface WeekDay {
|
|
2
|
+
date: Date;
|
|
3
|
+
isToday: boolean;
|
|
4
|
+
}
|
|
5
|
+
type WeekdayLong = 'Sunday' | 'Monday' | 'Tuesday' | 'Wednesday' | 'Thursday' | 'Friday' | 'Saturday';
|
|
6
|
+
export interface ScheduleItem {
|
|
7
|
+
day: WeekdayLong;
|
|
8
|
+
component: React.ReactElement;
|
|
9
|
+
}
|
|
10
|
+
interface Schedule {
|
|
11
|
+
uuid: string;
|
|
12
|
+
created: string;
|
|
13
|
+
langcode: string;
|
|
14
|
+
updated: string;
|
|
15
|
+
days: {
|
|
16
|
+
monday?: {
|
|
17
|
+
title: string;
|
|
18
|
+
start: string;
|
|
19
|
+
end: string;
|
|
20
|
+
video: string;
|
|
21
|
+
live: string;
|
|
22
|
+
}[];
|
|
23
|
+
tuesday?: {
|
|
24
|
+
title: string;
|
|
25
|
+
start: string;
|
|
26
|
+
end: string;
|
|
27
|
+
video: string;
|
|
28
|
+
live: string;
|
|
29
|
+
}[];
|
|
30
|
+
wednesday?: {
|
|
31
|
+
title: string;
|
|
32
|
+
start: string;
|
|
33
|
+
end: string;
|
|
34
|
+
video: string;
|
|
35
|
+
live: string;
|
|
36
|
+
}[];
|
|
37
|
+
thursday?: {
|
|
38
|
+
title: string;
|
|
39
|
+
start: string;
|
|
40
|
+
end: string;
|
|
41
|
+
video: string;
|
|
42
|
+
live: string;
|
|
43
|
+
}[];
|
|
44
|
+
friday?: {
|
|
45
|
+
title: string;
|
|
46
|
+
start: string;
|
|
47
|
+
end: string;
|
|
48
|
+
video: string;
|
|
49
|
+
live: string;
|
|
50
|
+
}[];
|
|
51
|
+
saturday?: {
|
|
52
|
+
title: string;
|
|
53
|
+
start: string;
|
|
54
|
+
end: string;
|
|
55
|
+
video: string;
|
|
56
|
+
live: string;
|
|
57
|
+
}[];
|
|
58
|
+
sunday?: {
|
|
59
|
+
title: string;
|
|
60
|
+
start: string;
|
|
61
|
+
end: string;
|
|
62
|
+
video: string;
|
|
63
|
+
live: string;
|
|
64
|
+
}[];
|
|
65
|
+
}[];
|
|
66
|
+
}
|
|
67
|
+
export interface Props {
|
|
68
|
+
testID?: string;
|
|
69
|
+
raised?: boolean;
|
|
70
|
+
scheduleItems?: Schedule;
|
|
71
|
+
hasAccess?: boolean;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Schedule';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ScheduleItem';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './Screen.types';
|
|
3
|
+
declare const Screen: {
|
|
4
|
+
({ testID, children, showHeader, showFooter, headerProps, footerProps, image, showOverlay, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Screen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Screen';
|
|
@@ -42,6 +42,11 @@ interface AppContextProps {
|
|
|
42
42
|
currency?: string;
|
|
43
43
|
country?: string;
|
|
44
44
|
};
|
|
45
|
+
app?: {
|
|
46
|
+
loginCallback?: () => void;
|
|
47
|
+
logoutCallback?: () => void;
|
|
48
|
+
isAuthenticated?: boolean;
|
|
49
|
+
};
|
|
45
50
|
}
|
|
46
51
|
export declare const AppContext: React.Context<AppContextProps>;
|
|
47
52
|
interface AppProviderProps {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './SubscriptionForm.types';
|
|
3
|
+
declare const SubscriptionForm: {
|
|
4
|
+
({ testID, initialValues, handleSubmit, isDisabled }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default SubscriptionForm;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SubscriptionForm';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './AccountScreen.types';
|
|
3
|
+
declare const AccountScreen: {
|
|
4
|
+
({ testID, title, image, user, logoutCallback, menu }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default AccountScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
testID: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
user?: {
|
|
6
|
+
profile?: {
|
|
7
|
+
picture?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
dateOfBirth?: string;
|
|
11
|
+
email: string;
|
|
12
|
+
};
|
|
13
|
+
subscription?: {
|
|
14
|
+
status?: string;
|
|
15
|
+
price?: string;
|
|
16
|
+
nextBillingDate?: string;
|
|
17
|
+
cardType?: string;
|
|
18
|
+
cardNumber?: string;
|
|
19
|
+
cardExpiry?: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
logoutCallback: () => void;
|
|
23
|
+
menu: {
|
|
24
|
+
title: string;
|
|
25
|
+
route: string;
|
|
26
|
+
icon?: string;
|
|
27
|
+
onClick: () => void;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AccountScreen';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AuthScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './CardGridScreen.types';
|
|
3
|
+
declare const CardGridScreen: {
|
|
4
|
+
({ testID, title, image, data, onPressCallback, isLoading }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default CardGridScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CardGridScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './CatalogueScreen.types';
|
|
3
|
+
declare const CatalogueScreen: {
|
|
4
|
+
({ testID, title, image, searchProps }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default CatalogueScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CatalogueScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ChallengeLibraryScreen.types';
|
|
3
|
+
declare const ChallengeLibraryScreen: {
|
|
4
|
+
({ testID, title, image, data, isLoading, onPressCallback, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ChallengeLibraryScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ChallengeLibraryScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ChallengeScreen.types';
|
|
3
|
+
declare const ChallengeScreen: {
|
|
4
|
+
({ testID, title, image, created, body, days, price, puchaseLabel, hasAccess, onPressCallback, purchaseCallback, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ChallengeScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
interface ChallengeDay {
|
|
2
|
+
title: string;
|
|
3
|
+
image: string;
|
|
4
|
+
id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface Props {
|
|
7
|
+
testID?: string;
|
|
8
|
+
title: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
created?: number;
|
|
11
|
+
body?: string;
|
|
12
|
+
days?: ChallengeDay[];
|
|
13
|
+
hasAccess?: boolean;
|
|
14
|
+
onPressCallback: (id: string) => void;
|
|
15
|
+
price?: number;
|
|
16
|
+
puchaseLabel?: string;
|
|
17
|
+
purchaseCallback: () => void;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ChallengeScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ContentScreen.types';
|
|
3
|
+
declare const ContentScreen: {
|
|
4
|
+
({ testID, title, image, updated, content }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ContentScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ContentScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './DashboardScreen.types';
|
|
3
|
+
declare const DashboardScreen: {
|
|
4
|
+
({ testID, title, image, user, latestData, recentdata, stats, promo, news, statsIsLoading, promosIsLoading, dataIsLoading, handleLatestDataPress, handleRecentDataPress, handleNewsDataPress, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default DashboardScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CardProps, PanelHeroProps } from '../../components';
|
|
2
|
+
import { Props as HeaderProps } from '../../components/Header/Header.types';
|
|
3
|
+
import { Props as FooterProps } from '../../components/Footer/Footer.types';
|
|
4
|
+
export interface Props {
|
|
5
|
+
testID?: string;
|
|
6
|
+
title: string;
|
|
7
|
+
image?: string;
|
|
8
|
+
user?: {
|
|
9
|
+
id?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
};
|
|
12
|
+
latestData?: CardProps[];
|
|
13
|
+
recentdata?: CardProps[];
|
|
14
|
+
stats?: CardProps[];
|
|
15
|
+
promo?: PanelHeroProps;
|
|
16
|
+
news?: CardProps[];
|
|
17
|
+
statsIsLoading?: boolean;
|
|
18
|
+
promosIsLoading?: boolean;
|
|
19
|
+
dataIsLoading?: boolean;
|
|
20
|
+
handleLatestDataPress: (id: string) => void;
|
|
21
|
+
handleRecentDataPress: (id: string) => void;
|
|
22
|
+
handleNewsDataPress: (id: string) => void;
|
|
23
|
+
headerProps?: HeaderProps;
|
|
24
|
+
footerProps?: FooterProps;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DashboardScreen';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './FAQScreen';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './HomeScreen';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './MenuScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ProfileScreen.types';
|
|
3
|
+
declare const ProfileScreen: {
|
|
4
|
+
({ testID, title, image, user, handleProfileSubmit }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ProfileScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
testID?: string;
|
|
3
|
+
title: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
user?: {
|
|
6
|
+
profile?: {
|
|
7
|
+
picture?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
dateOfBirth?: string;
|
|
11
|
+
email: string;
|
|
12
|
+
};
|
|
13
|
+
subscription?: {
|
|
14
|
+
status?: string;
|
|
15
|
+
price?: string;
|
|
16
|
+
nextBillingDate?: string;
|
|
17
|
+
cardType?: string;
|
|
18
|
+
cardNumber?: string;
|
|
19
|
+
cardExpiry?: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
handleProfileSubmit: (values: Record<string, string>) => void;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProfileScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './ScheduleScreen.types';
|
|
3
|
+
declare const ScheduleScreen: {
|
|
4
|
+
({ testID, title, image, scheduleData, isLoading }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default ScheduleScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ScheduleScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './SubscriptionScreen.types';
|
|
3
|
+
declare const SubscriptionScreen: {
|
|
4
|
+
({ testID, title, image, user, handleSubscriptionSubmit, subscriptionCallback, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default SubscriptionScreen;
|
|
8
|
+
export type { Props };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
testID?: string;
|
|
3
|
+
title: string;
|
|
4
|
+
image?: string;
|
|
5
|
+
user?: {
|
|
6
|
+
profile?: {
|
|
7
|
+
picture?: string;
|
|
8
|
+
firstName?: string;
|
|
9
|
+
lastName?: string;
|
|
10
|
+
dateOfBirth?: string;
|
|
11
|
+
email: string;
|
|
12
|
+
};
|
|
13
|
+
subscription?: {
|
|
14
|
+
status?: string;
|
|
15
|
+
plan?: string;
|
|
16
|
+
price?: string;
|
|
17
|
+
billingDate?: string;
|
|
18
|
+
cardType?: string;
|
|
19
|
+
cardNumber?: string;
|
|
20
|
+
cardExpiry?: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
handleSubscriptionSubmit: (values: any) => void;
|
|
24
|
+
subscriptionCallback?: () => void;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './SubscriptionScreen';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Props } from './WorkoutScreen.types';
|
|
3
|
+
declare const WorkoutScreen: {
|
|
4
|
+
({ testID, id, title, image, description, created, duration, level, section, uuid, video, category, type, likeCallback, completedCallback, favouriteCallback, isLiked, isCompleted, isFavourite, relatedWorkouts, isLoading, hasActiveSubscription, }: Props): React.ReactElement;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default WorkoutScreen;
|
|
8
|
+
export type { Props };
|