Skip to content

Commit a106eaa

Browse files
authored
Merge pull request #215 from arthurgeron/feat/export_app-state-status
Added export of AppStateStatus
2 parents e31f021 + 2021e99 commit a106eaa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {useDimensions} from './useDimensions'
2-
import {useAppState} from './useAppState'
2+
import {useAppState, AppStateStatus} from './useAppState'
33
import {useBackHandler} from './useBackHandler'
44
import {useCameraRoll} from './useCameraRoll'
55
import {useClipboard} from './useClipboard'
@@ -13,6 +13,7 @@ import {useImageDimensions} from './useImageDimensions'
1313
export {
1414
useDimensions,
1515
useAppState,
16+
AppStateStatus,
1617
useBackHandler,
1718
useCameraRoll,
1819
useClipboard,

src/useAppState.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ export function useAppState() {
1919

2020
return appState
2121
}
22+
23+
export {AppStateStatus}

0 commit comments

Comments
 (0)