Skip to content

Commit 7c6688c

Browse files
committed
Highlight createContext()
1 parent 6aa1995 commit 7c6688c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/context/motivation-solution.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// highlight-range{1}
12
const ColorContext = React.createContext();
23

34
class Button extends React.Component {

0 commit comments

Comments
 (0)