Skip to content

Commit

Permalink
Merge pull request #215 from arthurgeron/feat/export_app-state-status
Browse files Browse the repository at this point in the history
Added export of AppStateStatus
  • Loading branch information
LinusU authored Nov 16, 2020
2 parents e31f021 + 2021e99 commit a106eaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {useDimensions} from './useDimensions'
import {useAppState} from './useAppState'
import {useAppState, AppStateStatus} from './useAppState'
import {useBackHandler} from './useBackHandler'
import {useCameraRoll} from './useCameraRoll'
import {useClipboard} from './useClipboard'
Expand All @@ -13,6 +13,7 @@ import {useImageDimensions} from './useImageDimensions'
export {
useDimensions,
useAppState,
AppStateStatus,
useBackHandler,
useCameraRoll,
useClipboard,
Expand Down
2 changes: 2 additions & 0 deletions src/useAppState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ export function useAppState() {

return appState
}

export {AppStateStatus}

0 comments on commit a106eaa

Please # to comment.