Skip to content

Conversation

mclancy96
Copy link

Creates input and button elements with the appropriate elements.

@@ -1 +1,7 @@
// Code EyesOnMe Component Here

const EyesOnMe = () => {
return <button onFocus={() => console.log('Good!')} onBlur={() => console.log('Hey! Eyes on me!')}>Eyes on me</button>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice to move the anonymous functions in named functions here. This line is getting pretty long and hard to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants