Replies: 1 comment 1 reply
-
|
I use children function to impl <NavLink {...stylex.props(styles.link)} to={''}>
{({ isActive }) => <span {...stylex.props(isActive && styles.linkActive)}>Link</span>}
</NavLink> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example
How to use stylex.props
Beta Was this translation helpful? Give feedback.
All reactions