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

Commit f8b8f95

Browse files
Added meme
1 parent b57ec3e commit f8b8f95

8 files changed

Lines changed: 36 additions & 221 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm version](https://img.shields.io/npm/v/react-native-dark-mode.svg)](https://www.npmjs.com/package/react-native-dark-mode)
44
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
55

6-
<p align="center"><img src="https://raw.githubusercontent.com/codemotionapps/react-native-dark-mode/master/showcase.ios.gif" alt="Showcase iOS" width="200" height="433">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://raw.githubusercontent.com/codemotionapps/react-native-dark-mode/master/showcase.android.gif" alt="Showcase Android" width="237" height="433"></p>
6+
<p align="center"><img src="https://raw.githubusercontent.com/codemotionapps/react-native-dark-mode/master/showcase.ios.gif" alt="Showcase iOS" width="200" height="433">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://raw.githubusercontent.com/codemotionapps/react-native-dark-mode/master/showcase.android.gif" alt="Showcase Android" width="234" height="433"></p>
77

88
## Installation
99

example/App.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export default function App() {
2626

2727
return (
2828
<View style={styles.container}>
29+
<Image source={require('./meme.png')} style={styles.meme} />
30+
2931
<Image source={logo} style={styles.image} />
3032

3133
<Text style={styles.initialStyle}>Current mode: {mode}</Text>
@@ -37,7 +39,7 @@ export default function App() {
3739
<Extra />
3840
</DarkModeProvider>
3941

40-
<Counter />
42+
{/* <Counter /> */}
4143
</View>
4244
)
4345
}
@@ -61,4 +63,9 @@ const dynamicStyles = new DynamicStyleSheet({
6163
width: 80,
6264
height: 80,
6365
},
66+
meme: {
67+
width: '100%',
68+
height: 200,
69+
marginBottom: 20,
70+
},
6471
})

example/meme.png

167 KB
Loading

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"dependencies": {
99
"react": "16.8.3",
1010
"react-native": "0.59.9",
11-
"react-native-dark-mode": "0.2.0-rc.1"
11+
"react-native-dark-mode": "0.2.2"
1212
},
1313
"devDependencies": {
1414
"@types/react": "^16.8.19"

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",
3+
"version": "0.2.2",
44
"main": "./dist/index.js",
55
"typings": "./dist/index.d.ts",
66
"repository": "git@github.com:codemotionapps/react-native-dark-mode.git",

showcase.android.gif

293 KB
Loading

showcase.ios.gif

130 KB
Loading

0 commit comments

Comments
 (0)