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.
2 parents f37d946 + c3d1abd commit a19d7d6Copy full SHA for a19d7d6
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