Commit 6b93e2ad authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

re configured naming conventions

parent 083d422f
...@@ -4,14 +4,14 @@ import themeColors from '../assets/colors'; ...@@ -4,14 +4,14 @@ import themeColors from '../assets/colors';
export const AppButton = (props) => { export const AppButton = (props) => {
return( return(
<TouchableOpacity onPress={props.onPress} style={styles.Button}> <TouchableOpacity onPress={props.onPress} style={styles.button}>
<Text style={styles.Text}>{props.label}</Text> <Text style={styles.label}>{props.label}</Text>
</TouchableOpacity> </TouchableOpacity>
) )
} }
const styles = StyleSheet.create({ const styles = StyleSheet.create({
Button:{ button:{
alignItems: "center", alignItems: "center",
padding: 10, padding: 10,
fontSize: 16, fontSize: 16,
...@@ -19,7 +19,7 @@ const styles = StyleSheet.create({ ...@@ -19,7 +19,7 @@ const styles = StyleSheet.create({
borderRadius: 20, borderRadius: 20,
margin: 20 margin: 20
}, },
Text: { label: {
fontFamily: 'Poppins-Black', fontFamily: 'Poppins-Black',
fontSize: 22, fontSize: 22,
color: themeColors.WHITE color: themeColors.WHITE
......
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