Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Container } from 'native-base';
- import React from 'react';
- import { StyleSheet } from 'react-native';
- import Screen from './ScreenContainer';
- const styles = StyleSheet.create({
- container: {
- backgroundColor: '#FF6666',
- flex: 1
- }
- });
- const App = () => (
- <Provider store={store}>
- <Container style={styles.container}>
- <Screen />
- </Container>
- </Provider>
- );
- export default App;
- import { Container, Content, Form, Input, Label, Item } from 'native-base';
- import React from 'react';
- import AppLogo from '../components/AppLogo';
- const Screen = () => (
- <Container>
- <Content>
- <AppLogo />
- <Form>
- <Item floatingLabel last>
- <Label>Username</Label>
- <Input />
- </Item>
- </Form>
- </Content>
- </Container>
- );
- export default Screen;
- const styles = StyleSheet.create({
- container: {
- alignItems: 'center',
- backgroundColor: '#FF6666',
- flex: 1
- }
- });
Add Comment
Please, Sign In to add comment