import React, { PropTypes } from 'react' import classnames from 'classnames' import views, { ViewAuto } from './ContentViews' ViewSelector.propTypes = { active: PropTypes.func.isRequired, message: PropTypes.object.isRequired, onSelectView: PropTypes.func.isRequired, } export default function ViewSelector({ active, message, onSelectView }) { return (
{views.map(View => ( ))}
) }