Skip to content

Commit c91ee4b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/context/motivation-problem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class App extends React.Component {
55
}
66

77
function Toolbar(props) {
8-
// highlight-range{1-3,6}
8+
// highlight-range{1-4,7}
99
// Toolbar 组件接受一个额外的“theme”属性,然后传递给 ThemedButton 组件。
1010
// 如果应用中每一个单独的按钮都需要知道 theme 的值,这会是件很麻烦的事,
1111
// 因为必须将这个值层层传递所有组件。

0 commit comments

Comments
 (0)