parent
be19b6f5c9
commit
275075fd5c
@ -0,0 +1,13 @@
|
||||
import { FC, ReactNode } from "react"
|
||||
import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle } from "react-native"
|
||||
import React from "react"
|
||||
import styles from './style/ScreenIndicator.style'
|
||||
|
||||
export const ScreenIndicator: FC<{title: String}> = ({title}) =>
|
||||
{
|
||||
return(
|
||||
<View style={styles.textTopView}>
|
||||
<Text style={styles.textTop}>{title}</Text>
|
||||
</View>
|
||||
)
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { StyleSheet } from 'react-native';
|
||||
|
||||
export default StyleSheet.create({
|
||||
textTop: {
|
||||
textAlign: "center",
|
||||
fontSize: 16,
|
||||
lineHeight: 21,
|
||||
fontWeight: 'bold',
|
||||
letterSpacing: 0.25,
|
||||
color: 'white',
|
||||
},
|
||||
textTopView: {
|
||||
backgroundColor: '#0085FF',
|
||||
width: '30%',
|
||||
padding: 5,
|
||||
paddingBottom: 10,
|
||||
alignSelf: 'center',
|
||||
borderBottomRightRadius: 50,
|
||||
borderBottomLeftRadius: 50,
|
||||
}
|
||||
});
|
Loading…
Reference in new issue