"use strict"; import classNames from "classnames"; import JQueryFade from "./jqueryfade.jsx"; import PropTypes from "prop-types"; import createReactClass from "create-react-class"; import {CSSTransition, TransitionGroup} from "react-transition-group"; var PT = PropTypes; var ErrorPane = createReactClass({ //fixme! - class ErrorPane extends React.Component { propTypes: { errorMessages: PT.array.isRequired, }, renderErrorMessage: function(errorMessage, index) { return errorMessage ?
{errorMessage}
: false; }, render: function() { return
{this.props.errorMessages.map(this.renderErrorMessage)}
; } }); module.exports = ErrorPane;