Browse Source

Highlight whole createContext() call

main
Alex Krolick 7 years ago
parent
commit
b49f99b7d1
  1. 2
      examples/context/theme-detailed-theme-context.js

2
examples/context/theme-detailed-theme-context.js

@ -9,7 +9,7 @@ export const themes = {
},
};
// highlight-next-line
// highlight-range{1-3}
export const ThemeContext = React.createContext(
themes.dark
);

Loading…
Cancel
Save