From 1a46e1bb2e389c008028a9362e7f44ad4958510a Mon Sep 17 00:00:00 2001 From: mashazyu Date: Mon, 23 Mar 2020 15:35:47 +0100 Subject: [PATCH] Moves unique style of Link component from common to local file --- components/common/link.js | 2 +- styles/typography.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/common/link.js b/components/common/link.js index 26b4a5d..8b1293f 100644 --- a/components/common/link.js +++ b/components/common/link.js @@ -26,8 +26,8 @@ Link.propTypes = { const styles = StyleSheet.create({ link: { color: Colors.purple, + textDecorationLine: 'underline', ...Typography.mainText, - ...Typography.underline, } }) diff --git a/styles/typography.js b/styles/typography.js index 5e47d81..e28bf7e 100644 --- a/styles/typography.js +++ b/styles/typography.js @@ -41,6 +41,5 @@ export default { title: { color: Colors.purple, marginVertical: Spacing.large - }, - underline: { textDecorationLine: 'underline' } + } }