refactoring

This commit is contained in:
Overtorment 2018-05-06 18:14:22 +01:00
parent 6783165506
commit a885d1e006
4 changed files with 14 additions and 5 deletions

View file

@ -85,13 +85,25 @@ export class BlueFormLabel extends Component {
export class BlueFormInput extends Component {
render() {
return <FormInput {...this.props} inputStyle={{ color: 'white', }} containerStyle={{ borderBottomColor: 'white', borderBottomWidth: 0.5, }} />;
return (
<FormInput
{...this.props}
inputStyle={{ color: 'white' }}
containerStyle={{ borderBottomColor: 'white', borderBottomWidth: 0.5 }}
/>
);
}
}
export class BlueFormInputAddress extends Component {
render() {
return <FormInput {...this.props} inputStyle={{ color: 'white', fontSize : 12, }} containerStyle={{ borderBottomColor: 'white', borderBottomWidth: 0.5, }} />;
return (
<FormInput
{...this.props}
inputStyle={{ color: 'white', fontSize: 12 }}
containerStyle={{ borderBottomColor: 'white', borderBottomWidth: 0.5 }}
/>
);
}
}

View file

@ -1,7 +1,6 @@
/** @type {AppStorage} */
import React, { Component } from 'react';
import Ionicons from 'react-native-vector-icons/Ionicons';
import { Icon } from 'react-native-elements';
import {
BlueLoading,
SafeBlueArea,

View file

@ -1,7 +1,6 @@
import React, { Component } from 'react';
import { ActivityIndicator, View } from 'react-native';
import Ionicons from 'react-native-vector-icons/Ionicons';
import { Icon } from 'react-native-elements';
import {
SafeBlueArea,
BlueCard,

View file

@ -11,7 +11,6 @@ import {
BlueListItem,
BlueHeader,
} from '../../BlueComponents';
import { Icon } from 'react-native-elements';
import PropTypes from 'prop-types';
let EV = require('../../events');
/** @type {AppStorage} */