Sha256: 0ed7e6a7a70583bf709e0698884419a2d92ec8302d6e63ebcc79625e472fc963

Contents?: true

Size: 386 Bytes

Versions: 5

Compression:

Stored size: 386 Bytes

Contents

import React from 'react';
import PropTypes from 'prop-types';
import Notification from 'grommet/components/Notification';

export default function WarningNotification(props) {
    if (!props.message){ return null; }
    return (
        <Notification message={props.message} size="small" status="warning" />
    );
}

WarningNotification.propTypes = {
    message: PropTypes.string
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.5 client/hippo/components/warning-notification.jsx
hippo-fw-0.9.4 client/hippo/components/warning-notification.jsx
hippo-fw-0.9.3 client/hippo/components/warning-notification.jsx
hippo-fw-0.9.2 client/hippo/components/warning-notification.jsx
hippo-fw-0.9.1 client/hippo/components/warning-notification.jsx