Skip to content
This repository was archived by the owner on Jun 21, 2020. It is now read-only.

Commit b24df8d

Browse files
Exporting Mode from types
Closes #37
1 parent 6016ea0 commit b24df8d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/And
2929
### React Native 0.60 or above
3030
```sh
3131
npm install react-native-dark-mode
32-
pod install # for iOS
32+
cd ios && pod install # for iOS
3333
```
3434

35-
### React Native 0.59 or below
35+
### React Native 0.59
3636

3737
```sh
3838
npm install react-native-dark-mode

library/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-dark-mode",
3-
"version": "0.2.1-rc.0",
3+
"version": "0.2.1",
44
"main": "./dist/index.js",
55
"typings": "./dist/index.d.ts",
66
"repository": "[email protected]:codemotionapps/react-native-dark-mode.git",

library/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ export * from './initial-mode'
66
export * from './use-dark-mode'
77
export * from './use-dynamic-style-sheet'
88
export * from './use-dynamic-value'
9+
export { Mode } from './types'

0 commit comments

Comments
 (0)