2016-06-17 17:37:29 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
var Isvg = require('react-inlinesvg');
|
|
|
|
var preferences = require('../../../images/preferences.svg');
|
|
|
|
var classNames = require('classnames');
|
|
|
|
|
|
|
|
class Preferences extends React.Component {
|
|
|
|
render() {
|
2016-06-17 18:31:33 +00:00
|
|
|
let preferencesContainerClass = classNames({
|
2016-06-17 17:37:29 +00:00
|
|
|
"preferences": true,
|
|
|
|
"preferences--selected": this.props.isPreferencesShowing
|
|
|
|
});
|
|
|
|
return (
|
2016-06-17 18:31:33 +00:00
|
|
|
<div className={preferencesContainerClass}>
|
|
|
|
<button className="preferences__exit-button" onClick={this.props.closePreferences}>
|
|
|
|
X
|
|
|
|
</button>
|
2016-06-17 17:37:29 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Preferences;
|