Answers for "text input placeholder font family react native"

0

text input placeholder font family react native

const [email, setEmail] = useState('');

<TextInput
  style={{ fontFamily: email ? 'OpenSans-Regular' : 'OpenSans-Italic' }}
  value={email}
  onChangeText={text => setEmail(text)}
/>
Posted by: Guest on September-01-2021

Code answers related to "text input placeholder font family react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language