Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

allows style prop on Link component #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Link.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class LinkWithNavigation extends Component {
routeKey,
navigation,
action,
style,
} = this.props;
const topNavigation = getTopNavigation(navigation);
const topRouter = topNavigation.router;
Expand Down Expand Up @@ -62,6 +63,7 @@ class LinkWithNavigation extends Component {
navigation.dispatch(navAction);
e.preventDefault();
}}
style={style}
>
{children}
</a>
Expand Down