Moves unique style of Link component from common to local file

This commit is contained in:
mashazyu
2020-03-23 15:35:47 +01:00
committed by Sofiya Tepikin
parent fb519c4380
commit 1a46e1bb2e
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -26,8 +26,8 @@ Link.propTypes = {
const styles = StyleSheet.create({ const styles = StyleSheet.create({
link: { link: {
color: Colors.purple, color: Colors.purple,
textDecorationLine: 'underline',
...Typography.mainText, ...Typography.mainText,
...Typography.underline,
} }
}) })
+1 -2
View File
@@ -41,6 +41,5 @@ export default {
title: { title: {
color: Colors.purple, color: Colors.purple,
marginVertical: Spacing.large marginVertical: Spacing.large
}, }
underline: { textDecorationLine: 'underline' }
} }