Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bb519 commit c3d1abdCopy full SHA for c3d1abd
lessons/05-active-links/README.md
@@ -51,6 +51,10 @@ primary navigation links need to know. It's useful to wrap those so you
51
don't have to remember what your `activeClassName` or `activeStyle` is
52
everywhere.
53
54
+We will use an spread attribute here, the three dots. It clones our props
55
+and in this use case it clones `activeClassName` to our desired component for
56
+us to benefit from.
57
+
58
Create a new file at `modules/NavLink.js` that looks like this:
59
60
```js
0 commit comments