Problem Description

Create a ThemeProvider that toggles light/dark and updates styles.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use Context + state in provider and a hook to consume it.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next