-
-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Custom Settings (Remove connection tab)
- Loading branch information
Showing
5 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* eslint-disable import/no-named-as-default */ | ||
import React, { Component } from 'react'; | ||
import Tabs from '@redux-devtools/ui/lib/esm/Tabs/Tabs'; | ||
import Themes from '@redux-devtools/app/lib/esm/components/Settings/Themes'; | ||
|
||
export default class Settings extends Component { | ||
state = { selected: 'Themes' }; | ||
|
||
tabs = [ | ||
{ name: 'Themes', component: Themes }, | ||
]; | ||
|
||
handleSelect = (selected) => { | ||
this.setState({ selected }); | ||
}; | ||
|
||
render() { | ||
return ( | ||
<Tabs | ||
tabs={this.tabs} | ||
selected={this.state.selected} | ||
onClick={this.handleSelect} | ||
/> | ||
); | ||
} | ||
} |