-
-
Save martinwairegi/31cb6e0e538de36b0712e69bc62b0acf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useContext } from "react"; | |
import StateContext from "../StateContext"; | |
// Import Components | |
import Grid from "./Grid"; | |
import TalkyBlocky from "./TalkyBlocky"; | |
export default function Display() { | |
const { talkyBlocky, grid, talkyIsTalking, talkyBackground } = useContext( | |
StateContext | |
); | |
return ( | |
<div> | |
<Grid grid={grid} /> | |
<TalkyBlocky | |
talkyBlocky={talkyBlocky} | |
talkyIsTalking={talkyIsTalking} | |
talkyBackground={talkyBackground} | |
/> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment