Skip to content

Instantly share code, notes, and snippets.

krissanawat101 krissnawat

Block or report user

Report or block krissnawat

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View airbnbclone.sh
target 'airbnbclone' do
# Pods for airbnbclone
pod 'Firebase/Auth'
View link firebase.sh
View npm.sh
npm install react-native-firebase
View yarn.sh
yarn install react-native-firebase
View activate button.js
<NextArrowButton handleLogin={this.Login} />
View activate child event.js
export default class NextArrowButton extends Component {
render() {
const { disabled, handleLogin } = this.props;
// console.log()
return (
<View style={styles.buttonWrapper}>
<TouchableHighlight
onPress={handleLogin}
style={[{ opacity: 0.6 }, styles.button]}
>
View add parent event to child.js
<TextInput
autoCorrect={false}
style={[
{ color: inputColor, borderBottomColor: borderBottom },
styles.inputFiled
]}
secureTextEntry={secureInput}
onChangeText={onChangeText}
autoCapitalize="none"
/>
View new prop.js
const {
labelText,
labelTextSize,
labelColor,
textColor,
borderBottomColor,
inputType,
customStyle,
onChangeText
} = this.props;
View add state to form component.js
<InputField
labelText="EMAIL ADDRESS"
onChangeText={this.handleEmailChange}
labelTextSize={14}
labelColor={colors.white}
textColor={colors.white}
borderBottomColor={colors.white}
inputType="email"
customStyle={{ marginBottom: 30 }}
/>
You can’t perform that action at this time.