aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-28 12:10:34 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-28 12:10:34 +0200
commitf28399634079ccdcb51d33cb9e3a8a5d75cc6923 (patch)
tree640aded438ad1e5f586aeb53e190bf59eceb7584 /src/components/ui
parentAdd more custom branding (diff)
downloadferdium-app-f28399634079ccdcb51d33cb9e3a8a5d75cc6923.tar.gz
ferdium-app-f28399634079ccdcb51d33cb9e3a8a5d75cc6923.tar.zst
ferdium-app-f28399634079ccdcb51d33cb9e3a8a5d75cc6923.zip
Add suggestion to import Franz account
Diffstat (limited to 'src/components/ui')
-rw-r--r--src/components/ui/Link.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/ui/Link.js b/src/components/ui/Link.js
index b88686d5e..5c5ef9d7d 100644
--- a/src/components/ui/Link.js
+++ b/src/components/ui/Link.js
@@ -25,6 +25,7 @@ export default @inject('stores') @observer class Link extends Component {
25 className, 25 className,
26 activeClassName, 26 activeClassName,
27 strictFilter, 27 strictFilter,
28 style,
28 } = this.props; 29 } = this.props;
29 const { router } = stores; 30 const { router } = stores;
30 31
@@ -44,6 +45,7 @@ export default @inject('stores') @observer class Link extends Component {
44 <a 45 <a
45 href={router.history.createHref(to)} 46 href={router.history.createHref(to)}
46 className={linkClasses} 47 className={linkClasses}
48 style={style}
47 onClick={e => this.onClick(e)} 49 onClick={e => this.onClick(e)}
48 > 50 >
49 {children} 51 {children}
@@ -65,6 +67,7 @@ Link.wrappedComponent.propTypes = {
65 activeClassName: PropTypes.string, 67 activeClassName: PropTypes.string,
66 strictFilter: PropTypes.bool, 68 strictFilter: PropTypes.bool,
67 target: PropTypes.string, 69 target: PropTypes.string,
70 style: PropTypes.object,
68}; 71};
69 72
70Link.wrappedComponent.defaultProps = { 73Link.wrappedComponent.defaultProps = {
@@ -72,4 +75,5 @@ Link.wrappedComponent.defaultProps = {
72 activeClassName: '', 75 activeClassName: '',
73 strictFilter: false, 76 strictFilter: false,
74 target: '', 77 target: '',
78 style: {}
75}; 79};