Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
import { View, TextInput, Image } from 'react-native';
import styles from './styles';
import logo from './logo.png';
const Demo = () => {
return (
<View style={styles.container}>
<Image source={logo} style={styles.logo} />
<TextInput
placeholder="Email"
style={styles.input}
/>
<TextInput
placeholder="Username"
style={styles.input}
/>
<TextInput
placeholder="Password"
style={styles.input}
/>
<TextInput
placeholder="Confirm Password"
style={styles.input}
/>
</View>
);
};
export default Demo;
@hugomosh

This comment has been minimized.

Copy link

hugomosh commented Jun 14, 2018

What is inside style.container?

@stantoncbradley

This comment has been minimized.

Copy link

stantoncbradley commented Jul 19, 2018

yeah, came here to see how container was styled

@nihp

This comment has been minimized.

Copy link

nihp commented Oct 10, 2019

I have an issue with keyboard-aware-scroll-view. I have lot of input boxes and one of the boxes has dropdown. But it hided dropdown behind the keyboard. I tried with margins and another values. But it not worked for me. Any solution for this.

Sorry to ask here. I have posted it in forums but there is no reply from any one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.