Skip to content

Commit a52109e

Browse files
author
Claudio Gonzalez
committed
Updating to latest react-native version
1 parent 325d1b4 commit a52109e

File tree

2,221 files changed

+326270
-151213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,221 files changed

+326270
-151213
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
5-
zipStorePath=wrapper/dists
5+
zipStorePath=wrapper/dists

assets/fonts/SpaceMono-Regular.ttf

91.1 KB
Binary file not shown.

assets/images/icon.png

699 Bytes
Loading

assets/images/robot-dev.png

4.93 KB
Loading

assets/images/robot-prod.png

4.65 KB
Loading

assets/images/splash.png

6.31 KB
Loading

components/StyledText.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React from 'react';
2+
import { Text } from 'react-native';
3+
4+
export function MonoText(props) {
5+
return (
6+
<Text {...props} style={[props.style, { fontFamily: 'space-mono' }]} />
7+
);
8+
}

components/TabBarIcon.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
import { Ionicons } from '@expo/vector-icons';
3+
4+
import Colors from '../constants/Colors';
5+
6+
export default function TabBarIcon(props) {
7+
return (
8+
<Ionicons
9+
name={props.name}
10+
size={26}
11+
style={{ marginBottom: -3 }}
12+
color={props.focused ? Colors.tabIconSelected : Colors.tabIconDefault}
13+
/>
14+
);
15+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
import renderer from 'react-test-renderer';
3+
4+
import { MonoText } from '../StyledText';
5+
6+
it(`renders correctly`, () => {
7+
const tree = renderer.create(<MonoText>Snapshot test!</MonoText>).toJSON();
8+
9+
expect(tree).toMatchSnapshot();
10+
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`renders correctly 1`] = `
4+
<Text
5+
style={
6+
Array [
7+
undefined,
8+
Object {
9+
"fontFamily": "space-mono",
10+
},
11+
]
12+
}
13+
>
14+
Snapshot test!
15+
</Text>
16+
`;

0 commit comments

Comments
 (0)