Skip to content

Commit

Permalink
fix: fix ThemeChanger component name
Browse files Browse the repository at this point in the history
  • Loading branch information
Trancever authored Jan 5, 2021
2 parents 233ceb5 + 1ac3eb6 commit 392e477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/web/src/ThemeChanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import styled from 'styled-components';
import { withTheme } from './theming';

const Header = ({ theme, themes, onChangeTheme }) => (
const ThemeChanger = ({ theme, themes, onChangeTheme }) => (
<Container textColor={theme.primaryColor} background={theme.secondaryColor}>
CHANGE THEME:{' '}
<select onChange={e => onChangeTheme(e.target.value)}>
Expand All @@ -24,4 +24,4 @@ const Container = styled.div`
text-align: center;
`;

export default withTheme(Header);
export default withTheme(ThemeChanger);

0 comments on commit 392e477

Please sign in to comment.