import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ColumnCollapsable from '../../../components/column_collapsable'; import SettingToggle from './setting_toggle'; const messages = defineMessages({ settings: { id: 'notifications.settings', defaultMessage: 'Column settings' } }); class ColumnSettings extends React.PureComponent { static propTypes = { settings: ImmutablePropTypes.map.isRequired, onChange: PropTypes.func.isRequired, onSave: PropTypes.func.isRequired, intl: PropTypes.shape({ formatMessage: PropTypes.func.isRequired }).isRequired }; render () { const { settings, intl, onChange, onSave } = this.props; const alertStr = ; const showStr = ; const soundStr = ; return (
); } } export default injectIntl(ColumnSettings);