8.exercises.1.useFocus.xercise - sabinmarcu/jsleague-react-hooks GitHub Wiki

Preview Component


In this exercise, we will be creating a useFocus functionality, and, further down the line, a custom hook that will handle the functionality universally.

For this purpose, we will be using the Preview Component.


This is how the preview component will look like without our edits:

<style>{` .MuiCardContent-root > div { font-size: initial; } `}</style>

This is how the preview component will look like with our edits:

<style>{` .MuiCardContent-root > div { font-size: initial; } `}</style>
⚠️ **GitHub.com Fallback** ⚠️