header.js 498 Bytes
Newer Older
YoonDongMin's avatar
YoonDongMin committed
1
2
3
4
5
6
import React from 'react';
import {StyleSheet, Text, View} from 'react-native';

export default function Header() {
    return(
        <View style={styles.header}>
YoonDongMin's avatar
부채    
YoonDongMin committed
7
            <Text style = {styles.title}>부채</Text>
YoonDongMin's avatar
YoonDongMin committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
        </View>
    )
}

const styles = StyleSheet.create({
    header:{
        height:80,
        paddingTop:38,
        backgroundColor: 'coral'
    },
    title: {
        textAlign: 'center',
        color: '#fff',
        fontSize: 20,
        fontWeight: 'bold'
    }
});