You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 20, 2021. It is now read-only.
Adding a style prop to a Link does not change the style of the Link
import { Link } from '@react-navigation/web'
<Link routeName="Landing" style={{ textDecoration: 'none' }}>
<PrimaryButton title={'◀︎ Back to Home'} style={styles.button} />
</Link>
Expected Behavior
The child components should not be underlined (or textDecorated)
Facing the same issue, I created a PR (#12) that solves the problem passing all props to the anchor. Including style, className and every props you may set to the <Link />
Current Behavior
Adding a
style
prop to a Link does not change the style of the LinkExpected Behavior
The child components should not be underlined (or textDecorated)
How to reproduce
I believe the same issue is reproduced here?
https://github.com/react-navigation/web-server-example/blob/master/src/AppView.js
Your Environment
The text was updated successfully, but these errors were encountered: