Browse Source

+ "default value" comment

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

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

@ -11,5 +11,5 @@ export const themes = {
// highlight-range{1-3} // highlight-range{1-3}
export const ThemeContext = React.createContext( export const ThemeContext = React.createContext(
themes.dark themes.dark // default value
); );

Loading…
Cancel
Save