'use strict';

import React from 'react';
import {Link} from 'react-router';
import { strings } from '../../../lib/i18n';

class AlertBanner extends React.Component {

    render() {
        if (!this.props.message) {
            return null
        } else {
            return (
                <div className='alert__banner p3 center'>
                    <div className='section__container center'>
                        <div className='inline bold underline'>ALERT:</div>
                        &nbsp;
                        {this.props.message}
                    </div>
                </div>
            )
        }
    }
}

export default AlertBanner

Add ne alert banner component
Add ne alert banner component
