Skip to content

Commit d243317

Browse files
authored
✨ Add color to FallbackComponent Text (#129)
1 parent 68a8303 commit d243317

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ErrorBoundary/FallbackComponent/styles.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ const styles: any = StyleSheet.create({
1313
title: {
1414
fontSize: 48,
1515
fontWeight: '300',
16-
paddingBottom: 16
16+
paddingBottom: 16,
17+
color: '#000'
1718
},
1819
subtitle: {
1920
fontSize: 32,
20-
fontWeight: '800'
21+
fontWeight: '800',
22+
color: '#000'
2123
},
2224
error: {
2325
paddingVertical: 16

src/__tests__/__snapshots__/errorBoundary.spec.js.snap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ exports[`ErrorBoundary when there is an error when FallbackComponent is not defi
3333
<Text
3434
style={
3535
Object {
36+
"color": "#000",
3637
"fontSize": 48,
3738
"fontWeight": "300",
3839
"paddingBottom": 16,
@@ -44,6 +45,7 @@ exports[`ErrorBoundary when there is an error when FallbackComponent is not defi
4445
<Text
4546
style={
4647
Object {
48+
"color": "#000",
4749
"fontSize": 32,
4850
"fontWeight": "800",
4951
}

0 commit comments

Comments
 (0)