Skip to content

Commit fb346be

Browse files
QC-LBetaMee
andauthored
Update examples/context/motivation-solution.js
Co-Authored-By: BetaMee <[email protected]>
1 parent c91ee4b commit fb346be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/context/motivation-solution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class App extends React.Component {
88
// highlight-range{1-3,5}
99
// 使用一个 Provider 来将当前的 theme 传递给以下的组件树。
1010
// 无论多深,任何组件都能读取这个值。
11-
// 在这个例子中,我们将“dark”作为当前的值传递下去。
11+
// 在这个例子中,我们将 “dark” 作为当前的值传递下去。
1212
return (
1313
<ThemeContext.Provider value="dark">
1414
<Toolbar />

0 commit comments

Comments
 (0)