Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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)}
/>
 
PREVIOUS NEXT
Tagged: #text #input #placeholder #font #family #react #native
ADD COMMENT
Topic
Name
9+5 =