import variables from 'modules/variables';
import { PureComponent } from 'react';
import { /*MdHelpOutline,*/ MdFlag, MdArrowBack } from 'react-icons/md';
import Slider from './Slider';
import Switch from './Switch';
import SettingsItem from './SettingsItem';
import { values } from 'modules/helpers/settings/modals';
import Tooltip from 'components/helpers/tooltip/Tooltip';
export default class Header extends PureComponent {
render() {
return (
<>
{this.props.backButton ? (
) : null}
{this.props.title}
{/*
window.open(
variables.constants.KNOWLEDGEBASE +
'/settings/' +
this.props.setting.toLowerCase().replace('enabled', ''),
'_blank',
)
}
>
{variables.getMessage('modals.main.settings.sections.header.more_info')}
*/}
window.open(
variables.constants.BUG_REPORT + this.props.title.split(' ').join('+'),
'_blank',
)
}
>
{variables.getMessage('modals.main.settings.sections.header.report_issue')}
{this.props.switch ? (
) : null}
{this.props.zoomSetting ? (
) : null}
>
);
}
}