Skip to content

Instantly share code, notes, and snippets.

@dance2die dance2die/Child.js
Created Jul 28, 2018

What would you like to do?
const Child = ({ id, isClicked }) => (
className={isClicked ? `highlight` : ``}
>{`ID ${id} --- I am a child element`}</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.