We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3588fa commit b9b6e0eCopy full SHA for b9b6e0e
1 file changed
src/content/reference/react/Component.md
@@ -1814,9 +1814,9 @@ function Form() {
1814
1815
export default function MyApp() {
1816
return (
1817
- <ThemeContext.Provider value="dark">
+ <ThemeContext value="dark">
1818
<Form />
1819
- </ThemeContext.Provider>
+ </ThemeContext>
1820
)
1821
}
1822
```
@@ -1900,9 +1900,9 @@ function Form() {
1900
1901
1902
1903
1904
1905
1906
1907
1908
0 commit comments