import React, { PropTypes } from 'react'; import { List } from 'immutable'; import ToolbarButton from './ToolbarButton'; import { Icon } from '../../UI'; import styles from './Toolbar.css'; function Toolbar(props) { const { onH1, onH2, onBold, onItalic, onLink, onToggleMode, rawMode } = props; return (