Commit ecf68a93 authored by Martin Santangelo's avatar Martin Santangelo

(chore) remove hardcoded styles in tag input

1 merge request!322[Sprint/LuckyLizard] (fix) hashtag repeated error not visible on android
......@@ -90,7 +90,7 @@ export default class TagInput extends Component {
<TextInput
autoCapitalize="none"
autoFocus={autoFocus}
style={{height: 35, width: '100%', borderColor: '#ccc', borderBottomWidth: 1, padding: 10}}
style={styles.input}
ref={this.setInputRef}
value={this.state.text}
blurOnSubmit={false}
......@@ -115,6 +115,13 @@ export default class TagInput extends Component {
const styles = StyleSheet.create({
input: {
height: 35,
width: '100%',
borderColor: '#ccc',
borderBottomWidth: 1,
padding: 10
},
error: {
fontFamily: 'Roboto',
color: 'red',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment