esbenp / react-native-clean-form

Easy react-native forms using bootstrap-like syntax with redux-form+immutablejs integration. Styled using styled-components
http://esbenp.github.io/2017/01/06/react-native-redux-form-immutable-styled-components/
MIT License
478 stars 83 forks source link

How to make Label and Input in vertical view (column) #79

Open jjarmae opened 6 years ago

jjarmae commented 6 years ago

https://uppic.cc/v/y7k

aquacash5 commented 6 years ago

You use inlineLabel.

true for horizontal (default), false for vertical

<FormGroup inlineLabel={false}>
    <Label>First name</Label>
    <Input placeholder="Esben" onChangeText={this.onFirstNameChange} />
</FormGroup>