const [email, setEmail] = useState(''); <TextInput style={{ fontFamily: email ? 'OpenSans-Regular' : 'OpenSans-Italic' }} value={email} onChangeText={text => setEmail(text)} />