Dulce-Work-Schedule/2018.1-Dulce_App

View on GitHub
src/Components/AGRInput.js

Summary

Maintainability
A
0 mins
Test Coverage
import {agrInput as styles} from './styles' ;
import React from 'react';
import {Input, Item, Form, Label} from 'native-base';

class AGRInput extends React.Component {
  render() {
    return (
      <Form>
        <Item floatingLabel>
          <Label style={styles.label}>{this.props.nameLabel}</Label>
          <Input style={styles.textInput} underlineColorAndroid='transparent'
            {...this.props} />
        </Item>
      </Form>
    );
  }
}

export default AGRInput;