Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import { Container, Header, Content, Form, Item, Input, Label } from 'native-base';
- export default class FloatingLabelExample extends Component {
- render() {
- return (
- <Container>
- <Header />
- <Content>
- <Form>
- <Item floatingLabel>
- <Label>Username</Label>
- <Input />
- </Item>
- <Item floatingLabel last>
- <Label>Password</Label>
- <Input />
- </Item>
- </Form>
- </Content>
- </Container>
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement