This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from abscess/master
Update
- Loading branch information
Showing
35 changed files
with
14,871 additions
and
5,680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from "react"; | ||
import { View, TextInput } from "react-native"; | ||
|
||
import styles from "./styles"; | ||
|
||
const Input = (props) => { | ||
|
||
const { | ||
value, | ||
onChangeText, | ||
onSubmitEditing, | ||
inputStyle, | ||
inputContainerStyle, | ||
textInputProps | ||
} = props; | ||
|
||
return ( | ||
<View style={[styles.textInputContainer, inputContainerStyle]}> | ||
<TextInput | ||
{...textInputProps} | ||
style={[styles.textInput, inputStyle]} | ||
value={value} | ||
onChangeText={onChangeText} | ||
onSubmitEditing={onSubmitEditing} | ||
underlineColorAndroid="transparent" | ||
/> | ||
</View> | ||
); | ||
|
||
}; | ||
|
||
export {Input}; | ||
export default Input; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
root: true, | ||
extends: '@react-native-community', | ||
}; |
Oops, something went wrong.