Skip to content

Commit 28dc5f2

Browse files
authored
Merge pull request #2 from ConorCorp/fix/black-text
add: black text default
2 parents e061bd2 + 0906b9a commit 28dc5f2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

lib/InteractiveTextInput.style.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { ViewStyle, Dimensions, ImageStyle, StyleSheet } from "react-native";
1+
import {
2+
ViewStyle,
3+
Dimensions,
4+
ImageStyle,
5+
StyleSheet,
6+
TextStyle,
7+
} from "react-native";
28
const { width: ScreenWidth } = Dimensions.get("screen");
39

410
interface Style {
@@ -7,7 +13,7 @@ interface Style {
713
iconImageStyle: ImageStyle;
814
}
915

10-
export const _textInputStyle = (borderColor: any): ViewStyle => ({
16+
export const _textInputStyle = (borderColor: any): TextStyle => ({
1117
height: 50,
1218
width: ScreenWidth * 0.9,
1319
borderWidth: 1,
@@ -17,6 +23,7 @@ export const _textInputStyle = (borderColor: any): ViewStyle => ({
1723
borderColor: borderColor,
1824
justifyContent: "center",
1925
backgroundColor: "#eceef5",
26+
color: "#000",
2027
});
2128

2229
export default StyleSheet.create<Style>({

0 commit comments

Comments
 (0)