diff --git a/components/app-text-input.js b/components/app-text-input.js index 8c9d27332dc8febc293bf92961011a853132332c..50bf3f139dfca358bf572a418c925c63b7bfab22 100644 --- a/components/app-text-input.js +++ b/components/app-text-input.js @@ -4,6 +4,7 @@ import { TextInput } from 'react-native' import styles from '../styles' export default function AppTextInput({ style, ...props }) { + if (!Array.isArray(style)) style = [style] return ( <TextInput style={[styles.textInputField, ...style]}