Introduces Home component redesign

This commit is contained in:
mashazyu
2020-03-24 20:15:01 +01:00
committed by Sofiya Tepikin
parent b6c0fd0dce
commit 29d76d19b1
11 changed files with 150 additions and 180 deletions
+4 -3
View File
@@ -7,10 +7,10 @@ import { Colors, Typography } from '../../styles/redesign'
import links from '../../i18n/en/links'
const Link = ({ children }) => {
const Link = ({ children, style }) => {
return (
<Hyperlink
linkStyle={styles.link}
linkStyle={[styles.link, style]}
linkText={replaceUrlWithText}
linkDefault
>
@@ -20,7 +20,8 @@ const Link = ({ children }) => {
}
Link.propTypes = {
children: PropTypes.node
children: PropTypes.node,
style: PropTypes.object
}
const styles = StyleSheet.create({