Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Modify to rename App => ThemeProvider
  • Loading branch information
sosukesuzuki committed Jan 26, 2019
commit 76c34aded0add596cf23c6c1e8f62997d75eb8bb
2 changes: 1 addition & 1 deletion playground/src/context/theme-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ToggleThemeButton from './theme-consumer';
interface State {
theme: Theme;
}
export class App extends React.Component<{}, State> {
export class ThemeProvider extends React.Component<{}, State> {
readonly state: State = { theme: themes.light };

toggleTheme = () => {
Expand Down