Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Milvasoft/expo-boilerplate
/ functions
Functions
88 in github.com/Milvasoft/expo-boilerplate
⨍
Functions
88
◇
Types & classes
21
↓ 132 callers
Function
translate
(key: Scope, props?: TranslateOptions)
src/helpers/localization/index.ts:7
↓ 19 callers
Function
showToast
(msg: string, type?: ToastColorEnum, duration?: number)
src/helpers/toast/showToast.ts:12
↓ 15 callers
Function
useTheme
* Custom hook that returns the current theme from the ThemeContext. * @returns The current theme object.
src/hooks/useTheme.ts:8
↓ 10 callers
Function
useThemedStyles
(styles: any)
src/hooks/useThemedStyles.ts:10
↓ 7 callers
Function
isObjectLike
(val: any)
src/helpers/global/index.ts:32
↓ 5 callers
Function
isValidJSON
(str: any)
src/helpers/global/index.ts:11
↓ 3 callers
Function
getStoreDataAsync
(key: StoreEnum)
src/helpers/storage/index.ts:41
↓ 3 callers
Function
getStoreStringAsync
(key: StoreEnum)
src/helpers/storage/index.ts:66
↓ 3 callers
Function
removeStoreDataAsync
(key: StoreEnum)
src/helpers/storage/index.ts:92
↓ 2 callers
Function
addStoreDataAsync
(key: StoreEnum, value: string)
src/helpers/storage/index.ts:17
↓ 1 callers
Function
clearUser
()
src/modules/app/services/appService.ts:19
↓ 1 callers
Function
fetchNews
()
src/modules/news/screens/NewsList/index.tsx:57
↓ 1 callers
Function
formatDate
(dateString: string)
src/modules/news/screens/NewsList/index.tsx:83
↓ 1 callers
Function
formatDate
(dateString: string)
src/modules/news/screens/NewsDetail/index.tsx:36
↓ 1 callers
Function
getInitialRoute
()
src/routers/index.tsx:32
↓ 1 callers
Function
getInitials
(name?: string)
src/modules/profile/screens/Profile/index.tsx:78
↓ 1 callers
Function
handleArticlePress
(article: INewsArticle)
src/modules/news/screens/NewsList/index.tsx:74
↓ 1 callers
Function
handleCategoryPress
(category: NewsCategory | "all")
src/modules/news/screens/NewsList/index.tsx:79
↓ 1 callers
Function
pop
(count:number)
src/helpers/router/index.ts:26
↓ 1 callers
Function
push
(name: Routes, params?: NavigationParams[RouteName])
src/helpers/router/index.ts:15
↓ 1 callers
Function
registerForPushNotificationsAsync
()
src/providers/Notification.tsx:39
↓ 1 callers
Function
styles
(theme: ITheme)
src/modules/app/screens/Home/style.ts:8
↓ 1 callers
Function
validateEmail
(email: string)
src/modules/app/screens/Signup/index.tsx:44
↓ 1 callers
Function
validateEmail
(email: string)
src/modules/app/screens/Login/index.tsx:37
Function
App
()
App.tsx:17
Function
AppLoadingProvider
* 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
Function
BottomNavigation
()
src/routers/BottomNavigation.tsx:15
Function
BottomSheetContainer
* Global Bottom Sheet Container * Provides a bottom sheet that can be controlled from anywhere in the app
src/components/BottomSheetContainer/index.tsx:37
Function
CustomProvider
* Providers for `global` transactions. * The `CustomProvider` is used to `monitor` and take action at every moment of the application.
src/providers/index.tsx:22
Function
ErrorBoundaryPage
()
src/modules/app/screens/ErrorBoundaryPage.tsx:4
Function
ErrorComponent
({ errorMessage, onRetry }: ErrorComponentProps)
src/components/ErrorComponent/index.tsx:10
Function
Example
()
src/modules/app/components/Example.tsx:6
Function
GeneralActivityIndicator
* Renders a general activity indicator with an optional text. * * @param {GeneralActivityIndicatorProps} props - The component props. * @param {str
src/components/GeneralActivityIndicator/index.tsx:16
Function
Home
()
src/modules/app/screens/Home/index.tsx:21
Function
HomeActionsSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:44
Function
HomeStatsSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:31
Function
Login
()
src/modules/app/screens/Login/index.tsx:26
Function
NetworkInfoContainer
({ children }: any)
src/providers/NetworkInfoContainer.tsx:5
Function
NewsDetail
()
src/modules/news/screens/NewsDetail/index.tsx:22
Function
NewsList
()
src/modules/news/screens/NewsList/index.tsx:44
Function
NewsListSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:9
Function
NotFoundComponent
({ title, onPress }: NotFoundComponentrProps)
src/components/NotFoundComponent/index.tsx:15
Function
Notification
()
src/providers/Notification.tsx:19
Function
Onboarding
()
src/modules/app/screens/Onboarding/index.tsx:49
Function
Profile
()
src/modules/profile/screens/Profile/index.tsx:17
Function
ProfileMenuSkeleton
()
src/components/Skeleton/SkeletonVariants.tsx:62
Function
ProfileStack
()
src/routers/ProfileStack.tsx:12
Function
RootNavigation
()
src/routers/index.tsx:23
Function
Settings
()
src/modules/profile/screens/Settings/index.tsx:22
Function
Signup
()
src/modules/app/screens/Signup/index.tsx:25
Function
Skeleton
({ width = "100%", height = 20, borderRadius = 4, style, })
src/components/Skeleton/index.tsx:15
Function
ThemeListener
()
src/providers/ThemeListener.tsx:10
Function
ThemeProvider
* 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
Function
ToastUtils
* Utility function for displaying toast messages. * @returns A JSX element representing the toast message.
src/providers/Toast.tsx:19
Function
baseQueryWithReauth
(args, api, extraOptions)
src/network/baseQuery.ts:51
Method
componentDidCatch
(error: any, errorInfo: any)
src/providers/ErrorBoundary.tsx:21
Method
getDerivedStateFromError
()
src/providers/ErrorBoundary.tsx:17
Function
goBack
()
src/helpers/router/index.ts:48
Function
handleColorModeChange
( preferences: Appearance.AppearancePreferences )
src/providers/ThemeListener.tsx:14
Function
handleLogin
()
src/modules/app/screens/Signup/index.tsx:94
Function
handleLogin
()
src/modules/app/screens/Login/index.tsx:42
Function
handleLogout
()
src/modules/profile/screens/Settings/index.tsx:29
Function
handleLogout
()
src/modules/profile/screens/Profile/index.tsx:24
Function
handleNext
()
src/modules/app/screens/Onboarding/index.tsx:55
Function
handleReadMore
()
src/modules/news/screens/NewsDetail/index.tsx:47
Function
handleSignup
()
src/modules/app/screens/Signup/index.tsx:49
Function
handleSignup
()
src/modules/app/screens/Login/index.tsx:65
Function
handleSkip
()
src/modules/app/screens/Onboarding/index.tsx:66
Function
navigate
(name: string, params?: NavigationParams[RouteName])
src/helpers/router/index.ts:38
Function
open
* Opens the toast message with the specified parameters. * * @param {IToastType} param - The toast message parameters. * @param {string
src/components/ToastMessage/index.tsx:76
Function
open
* Opens a toast notification with the specified parameters. * @param param - The parameters for the toast notification.
src/providers/Toast.tsx:31
Method
render
()
src/providers/ErrorBoundary.tsx:34
Function
renderCategoryItem
({ item }: { item: (typeof categories)[0] })
src/modules/news/screens/NewsList/index.tsx:100
Function
renderNewsItem
({ item }: { item: INewsArticle })
src/modules/news/screens/NewsList/index.tsx:119
Function
renderSlide
({ item }: { item: OnboardingSlide })
src/modules/app/screens/Onboarding/index.tsx:80
Function
setUseBackDropRef
(useToastRefProp: any)
src/providers/Toast.tsx:11
Function
signIn
(loginDto: ILoginDTO)
src/modules/app/services/appService.ts:11
Function
signOut
()
src/modules/app/services/appService.ts:28
Function
styles
(theme: ITheme)
src/modules/profile/screens/Settings/style.ts:8
Function
styles
(theme: ITheme)
src/modules/profile/screens/Profile/style.ts:8
Function
styles
(theme: ITheme)
src/modules/app/components/Example.tsx:16
Function
styles
(theme: ITheme)
src/modules/app/screens/Login/style.ts:8
Function
styles
(theme: ITheme)
src/modules/app/screens/Onboarding/style.ts:8
Function
styles
(theme: ITheme)
src/modules/news/screens/NewsList/style.ts:8
Function
styles
(theme: ITheme)
src/modules/news/screens/NewsDetail/style.ts:8
Function
styles
(theme: ITheme)
src/components/GeneralActivityIndicator/style.ts:4
Function
toggleDarkMode
()
src/modules/profile/screens/Settings/index.tsx:50
Function
useBottomSheet
()
src/hooks/useBottomSheet.ts:20