MCPcopy Create free account

hub / github.com/Milvasoft/expo-boilerplate / functions

Functions88 in github.com/Milvasoft/expo-boilerplate

↓ 132 callersFunctiontranslate
(key: Scope, props?: TranslateOptions)
src/helpers/localization/index.ts:7
↓ 19 callersFunctionshowToast
(msg: string, type?: ToastColorEnum, duration?: number)
src/helpers/toast/showToast.ts:12
↓ 15 callersFunctionuseTheme
* Custom hook that returns the current theme from the ThemeContext. * @returns The current theme object.
src/hooks/useTheme.ts:8
↓ 10 callersFunctionuseThemedStyles
(styles: any)
src/hooks/useThemedStyles.ts:10
↓ 7 callersFunctionisObjectLike
(val: any)
src/helpers/global/index.ts:32
↓ 5 callersFunctionisValidJSON
(str: any)
src/helpers/global/index.ts:11
↓ 3 callersFunctiongetStoreDataAsync
(key: StoreEnum)
src/helpers/storage/index.ts:41
↓ 3 callersFunctiongetStoreStringAsync
(key: StoreEnum)
src/helpers/storage/index.ts:66
↓ 3 callersFunctionremoveStoreDataAsync
(key: StoreEnum)
src/helpers/storage/index.ts:92
↓ 2 callersFunctionaddStoreDataAsync
(key: StoreEnum, value: string)
src/helpers/storage/index.ts:17
↓ 1 callersFunctionclearUser
()
src/modules/app/services/appService.ts:19
↓ 1 callersFunctionfetchNews
()
src/modules/news/screens/NewsList/index.tsx:57
↓ 1 callersFunctionformatDate
(dateString: string)
src/modules/news/screens/NewsList/index.tsx:83
↓ 1 callersFunctionformatDate
(dateString: string)
src/modules/news/screens/NewsDetail/index.tsx:36
↓ 1 callersFunctiongetInitialRoute
()
src/routers/index.tsx:32
↓ 1 callersFunctiongetInitials
(name?: string)
src/modules/profile/screens/Profile/index.tsx:78
↓ 1 callersFunctionhandleArticlePress
(article: INewsArticle)
src/modules/news/screens/NewsList/index.tsx:74
↓ 1 callersFunctionhandleCategoryPress
(category: NewsCategory | "all")
src/modules/news/screens/NewsList/index.tsx:79
↓ 1 callersFunctionpop
(count:number)
src/helpers/router/index.ts:26
↓ 1 callersFunctionpush
(name: Routes, params?: NavigationParams[RouteName])
src/helpers/router/index.ts:15
↓ 1 callersFunctionregisterForPushNotificationsAsync
()
src/providers/Notification.tsx:39
↓ 1 callersFunctionstyles
(theme: ITheme)
src/modules/app/screens/Home/style.ts:8
↓ 1 callersFunctionvalidateEmail
(email: string)
src/modules/app/screens/Signup/index.tsx:44
↓ 1 callersFunctionvalidateEmail
(email: string)
src/modules/app/screens/Login/index.tsx:37
FunctionApp
()
App.tsx:17
FunctionAppLoadingProvider
* Provides an app loading screen that preloads fonts and hides the splash screen * once the app is ready to render. * * @param {Props} props - The
src/providers/AppLoadingProvider.tsx:21
FunctionBottomNavigation
()
src/routers/BottomNavigation.tsx:15
FunctionBottomSheetContainer
* Global Bottom Sheet Container * Provides a bottom sheet that can be controlled from anywhere in the app
src/components/BottomSheetContainer/index.tsx:37
FunctionCustomProvider
* Providers for `global` transactions. * The `CustomProvider` is used to `monitor` and take action at every moment of the application.
src/providers/index.tsx:22
FunctionErrorBoundaryPage
()
src/modules/app/screens/ErrorBoundaryPage.tsx:4
FunctionErrorComponent
({ errorMessage, onRetry }: ErrorComponentProps)
src/components/ErrorComponent/index.tsx:10
FunctionExample
()
src/modules/app/components/Example.tsx:6
FunctionGeneralActivityIndicator
* Renders a general activity indicator with an optional text. * * @param {GeneralActivityIndicatorProps} props - The component props. * @param {str
src/components/GeneralActivityIndicator/index.tsx:16
FunctionHome
()
src/modules/app/screens/Home/index.tsx:21
FunctionHomeActionsSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:44
FunctionHomeStatsSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:31
FunctionLogin
()
src/modules/app/screens/Login/index.tsx:26
FunctionNetworkInfoContainer
({ children }: any)
src/providers/NetworkInfoContainer.tsx:5
FunctionNewsDetail
()
src/modules/news/screens/NewsDetail/index.tsx:22
FunctionNewsList
()
src/modules/news/screens/NewsList/index.tsx:44
FunctionNewsListSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:9
FunctionNotFoundComponent
({ title, onPress }: NotFoundComponentrProps)
src/components/NotFoundComponent/index.tsx:15
FunctionNotification
()
src/providers/Notification.tsx:19
FunctionOnboarding
()
src/modules/app/screens/Onboarding/index.tsx:49
FunctionProfile
()
src/modules/profile/screens/Profile/index.tsx:17
FunctionProfileMenuSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:62
FunctionProfileStack
()
src/routers/ProfileStack.tsx:12
FunctionRootNavigation
()
src/routers/index.tsx:23
FunctionSettings
()
src/modules/profile/screens/Settings/index.tsx:22
FunctionSignup
()
src/modules/app/screens/Signup/index.tsx:25
FunctionSkeleton
({ width = "100%", height = 20, borderRadius = 4, style, })
src/components/Skeleton/index.tsx:15
FunctionThemeListener
()
src/providers/ThemeListener.tsx:10
FunctionThemeProvider
* Provides the theme for the application based on the user's color scheme. * * @param {Props} props - The component props. * @param {ReactNode} pro
src/providers/ThemeProvider.tsx:19
FunctionToastUtils
* Utility function for displaying toast messages. * @returns A JSX element representing the toast message.
src/providers/Toast.tsx:19
FunctionbaseQueryWithReauth
(args, api, extraOptions)
src/network/baseQuery.ts:51
MethodcomponentDidCatch
(error: any, errorInfo: any)
src/providers/ErrorBoundary.tsx:21
MethodgetDerivedStateFromError
()
src/providers/ErrorBoundary.tsx:17
FunctiongoBack
()
src/helpers/router/index.ts:48
FunctionhandleColorModeChange
( preferences: Appearance.AppearancePreferences )
src/providers/ThemeListener.tsx:14
FunctionhandleLogin
()
src/modules/app/screens/Signup/index.tsx:94
FunctionhandleLogin
()
src/modules/app/screens/Login/index.tsx:42
FunctionhandleLogout
()
src/modules/profile/screens/Settings/index.tsx:29
FunctionhandleLogout
()
src/modules/profile/screens/Profile/index.tsx:24
FunctionhandleNext
()
src/modules/app/screens/Onboarding/index.tsx:55
FunctionhandleReadMore
()
src/modules/news/screens/NewsDetail/index.tsx:47
FunctionhandleSignup
()
src/modules/app/screens/Signup/index.tsx:49
FunctionhandleSignup
()
src/modules/app/screens/Login/index.tsx:65
FunctionhandleSkip
()
src/modules/app/screens/Onboarding/index.tsx:66
Functionnavigate
(name: string, params?: NavigationParams[RouteName])
src/helpers/router/index.ts:38
Functionopen
* Opens the toast message with the specified parameters. * * @param {IToastType} param - The toast message parameters. * @param {string
src/components/ToastMessage/index.tsx:76
Functionopen
* Opens a toast notification with the specified parameters. * @param param - The parameters for the toast notification.
src/providers/Toast.tsx:31
Methodrender
()
src/providers/ErrorBoundary.tsx:34
FunctionrenderCategoryItem
({ item }: { item: (typeof categories)[0] })
src/modules/news/screens/NewsList/index.tsx:100
FunctionrenderNewsItem
({ item }: { item: INewsArticle })
src/modules/news/screens/NewsList/index.tsx:119
FunctionrenderSlide
({ item }: { item: OnboardingSlide })
src/modules/app/screens/Onboarding/index.tsx:80
FunctionsetUseBackDropRef
(useToastRefProp: any)
src/providers/Toast.tsx:11
FunctionsignIn
(loginDto: ILoginDTO)
src/modules/app/services/appService.ts:11
FunctionsignOut
()
src/modules/app/services/appService.ts:28
Functionstyles
(theme: ITheme)
src/modules/profile/screens/Settings/style.ts:8
Functionstyles
(theme: ITheme)
src/modules/profile/screens/Profile/style.ts:8
Functionstyles
(theme: ITheme)
src/modules/app/components/Example.tsx:16
Functionstyles
(theme: ITheme)
src/modules/app/screens/Login/style.ts:8
Functionstyles
(theme: ITheme)
src/modules/app/screens/Onboarding/style.ts:8
Functionstyles
(theme: ITheme)
src/modules/news/screens/NewsList/style.ts:8
Functionstyles
(theme: ITheme)
src/modules/news/screens/NewsDetail/style.ts:8
Functionstyles
(theme: ITheme)
src/components/GeneralActivityIndicator/style.ts:4
FunctiontoggleDarkMode
()
src/modules/profile/screens/Settings/index.tsx:50
FunctionuseBottomSheet
()
src/hooks/useBottomSheet.ts:20