We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 233ceb5 + 1ac3eb6 commit 392e477Copy full SHA for 392e477
examples/web/src/ThemeChanger.js
@@ -2,7 +2,7 @@ import React from 'react';
2
import styled from 'styled-components';
3
import { withTheme } from './theming';
4
5
-const Header = ({ theme, themes, onChangeTheme }) => (
+const ThemeChanger = ({ theme, themes, onChangeTheme }) => (
6
<Container textColor={theme.primaryColor} background={theme.secondaryColor}>
7
CHANGE THEME:{' '}
8
<select onChange={e => onChangeTheme(e.target.value)}>
@@ -24,4 +24,4 @@ const Container = styled.div`
24
text-align: center;
25
`;
26
27
-export default withTheme(Header);
+export default withTheme(ThemeChanger);
0 commit comments