></a></div><div class="tsd-description"><div class="tsd-comment tsd-typography"><pre><code class="js"><span class="hl-6">const</span><span class="hl-1"> </span><span class="hl-7">MyProtectedComponent</span><span class="hl-1"> = </span><span class="hl-0">withAuthenticationRequired</span><span class="hl-1">(</span><span class="hl-5">MyComponent</span><span class="hl-1">);</span>
</code><button type="button">Copy</button></pre>

<p>When you wrap your components in this Higher Order Component and an anonymous u