Skip to content

Changing fontSize of TextInput #348

@victorkvarghese

Description

@victorkvarghese

TextInput Module fontSize doesn't get affected

Current behaviour

fontSize remains 12 unaffected.

Expected behaviour

fontSize should change right?? or am i missing something?

Code sample

<TextInput
label='Email'
value={this.state.text}
onChangeText={text => this.setState({ text })}
style={{flex:1, fontSize:16}}
/>

Your Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 8.8.1
Yarn: 1.2.1
npm: 5.4.2
Watchman: 4.9.0
Xcode: Xcode 9.1 Build version 9B46
Android Studio: 3.1 AI-173.4697961

Packages: (wanted => installed)
react: ^16.3.0-alpha.1 => 16.3.0-alpha.2
react-native: ^0.54.2 => 0.54.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions