@4alldigital/foundation-ui--gamma 1.47.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/Card/Card.types.d.ts +1 -0
- package/dist/types/lib/components/Card/types/CardMedia/CardMedia.d.ts +1 -1
- package/dist/types/lib/components/CardGrid/CardGrid.d.ts +8 -0
- package/dist/types/lib/components/CardGrid/CardGrid.types.d.ts +6 -0
- package/dist/types/lib/components/CardGrid/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/Screen.types.d.ts +12 -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/components/index.d.ts +4 -0
- 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/features/Search/views/Layout/Layout.d.ts +1 -1
- package/dist/types/lib/features/Search/views/Layout/Layout.types.d.ts +1 -0
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.d.ts +1 -1
- package/dist/types/lib/features/Search/views/SearchBox/SearchBox.types.d.ts +2 -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/translations/en.d.ts +4 -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,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './CardMedia.types';
|
|
3
3
|
declare const CardMedia: {
|
|
4
|
-
({ id, title, description, image, className, metaData, actions, onClick, playCallback, htmlDetails, }: Props): React.ReactElement;
|
|
4
|
+
({ id, title, description, image, className, metaData, actions, onClick, playCallback, htmlDetails, accessRestriced, }: Props): React.ReactElement;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default CardMedia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CardGrid';
|
|
@@ -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,12 @@
|
|
|
1
|
+
import { Props as HeaderProps } from '../Header/Header.types';
|
|
2
|
+
import { Props as FooterProps } from '../Footer/Footer.types';
|
|
3
|
+
export interface Props {
|
|
4
|
+
testID?: string;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
showHeader?: boolean;
|
|
7
|
+
showFooter?: boolean;
|
|
8
|
+
headerProps?: HeaderProps;
|
|
9
|
+
footerProps?: FooterProps;
|
|
10
|
+
image?: string;
|
|
11
|
+
showOverlay?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Screen';
|
|
@@ -39,6 +39,7 @@ export { default as PanelFeature } from './PanelFeature';
|
|
|
39
39
|
export { default as PanelHero } from './PanelHero';
|
|
40
40
|
export { default as PanelProduct } from './PanelProduct';
|
|
41
41
|
export { default as PanelVideo } from './PanelVideo';
|
|
42
|
+
export { default as CardGrid } from './CardGrid';
|
|
42
43
|
export { default as Container } from './Container';
|
|
43
44
|
export { default as ContentPageLayout } from './ContentPageLayout';
|
|
44
45
|
export { default as ContentRowsLayout } from './ContentRowsLayout';
|
|
@@ -101,3 +102,6 @@ export type { Props as AvatarProps } from './Avatar/Avatar.types';
|
|
|
101
102
|
export type { Props as OTPInputProps } from './OTPInput/OTPInput.types';
|
|
102
103
|
export type { Props as HeroProps } from './Hero/Hero.types';
|
|
103
104
|
export type { Props as HtmlContentProps } from './HtmlContent/HtmlContent.types';
|
|
105
|
+
export type { Props as CardGridProps } from './CardGrid/CardGrid.types';
|
|
106
|
+
export type { Props as ScreenProps } from './Screen/Screen.types';
|
|
107
|
+
export type { Props as CarouselProps } from './Carousel/Carousel.types';
|
|
@@ -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 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './Layout.types';
|
|
3
|
-
declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent }: Props): React.ReactElement;
|
|
3
|
+
declare function Layout({ className, children, header, bodyContent, bodyFooter, bodyHeader, sideContent, showSidebar, }: Props): React.ReactElement;
|
|
4
4
|
declare namespace Layout {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Props } from './SearchBox.types';
|
|
3
|
-
declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder }: Props): React.ReactElement;
|
|
3
|
+
declare function SearchBox({ className, onChange, onSubmit, wasSearched, placeholder, allowReset, resetTrigger, }: Props): React.ReactElement;
|
|
4
4
|
declare namespace SearchBox {
|
|
5
5
|
var displayName: string;
|
|
6
6
|
}
|
|
@@ -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';
|