Commit 1d7b3dba by Prachpawee

update style

parent 0309c6a0
import React from 'react';
import { Card, View, Row, Icon, Text } from 'native-base';
import { Image, StyleSheet } from 'react-native';
import { Image, StyleSheet, TouchableOpacity } from 'react-native';
import { color } from '../../constants/Styles';
const MeterCard = props => {
return (
<TouchableOpacity onPress={() => console.log('Go to Smart meter ' + props.index + '!!')}>
<Card style={[styles.cardContainer]}>
<View style={[styles.imgContainer]}>
{props.isOn ? (
......@@ -43,6 +44,7 @@ const MeterCard = props => {
</Row>
</View>
</Card>
</TouchableOpacity>
);
};
......
......@@ -10,7 +10,7 @@ export const color = {
export const theme = StyleSheet.create({
startContainer: {
top: 120,
top: '15%',
paddingHorizontal: 50,
},
startTitle: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment