Skip to content

Commit

Permalink
fix(input): Expand with parent to avoid invisible underlines
Browse files Browse the repository at this point in the history
  • Loading branch information
sospedra committed Sep 11, 2017
1 parent 4a224ef commit b193a66
Show file tree
Hide file tree
Showing 5 changed files with 452 additions and 33 deletions.
10 changes: 7 additions & 3 deletions example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ export default class example extends Component {
<Text style={styles.welcome}>
Welcome to React Native!
</Text>
<Reinput
label='Reinput'
/>
<View style={{ flexDirection: 'row' }}>
<Text>Ico</Text>
<Reinput
label='Reinput'
highlightColor='blue'
/>
</View>
</View>
)
}
Expand Down
5 changes: 4 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
"test": "jest",
"dev": "react-devtools",
"reinstall": "yarn remove reinput && yarn add file:../ && rm -rf node_modules/reinput/example"
},
"dependencies": {
"react": "16.0.0-alpha.12",
"react-devtools": "^2.5.0",
"react-native": "0.48.2",
"reinput": "file:../"
},
Expand Down
Loading

0 comments on commit b193a66

Please sign in to comment.