Project 6: Testimonial Slider
React Engineer
Builds on these lessons
Step 1 of 3
Project
Creating Context
Call const ThemeContext = createContext("light") in a new file-level constant. Context exists for values that many components need but that would otherwise have to be threaded through props at every single level in between — "prop drilling."
🎯 Your Task
Please add the exact code shown in the light gray box below to your editor.Do not delete your previous code, just insert these new lines in the correct place!
import { createContext } from "react";
const ThemeContext = createContext("light");
export default function TestimonialSlider() {
return <div>Slider</div>;
}