import React, { PropTypes } from 'react'; const Isvg = require('react-inlinesvg'); const exitUrl = require('../../../images/exit.svg'); const plusUrl = require('../../../images/plus.svg'); const minusUrl = require('../../../images/minus.svg'); const classNames = require('classnames'); function Preferences(props) { const preferencesContainerClass = classNames({ preferences: true, 'preferences--selected': props.isVisible }); return (

Preferences

Text Size

{props.fontSize}

); } Preferences.propTypes = { isVisible: PropTypes.bool.isRequired, closePreferences: PropTypes.func.isRequired, decreaseFont: PropTypes.func.isRequired, fontSize: PropTypes.number.isRequired, increaseFont: PropTypes.func.isRequired }; export default Preferences;