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