'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _objectAssign = require('object-assign');

var _objectAssign2 = _interopRequireDefault(_objectAssign);

var _Typography = require('@material-ui/core/Typography');

var _Typography2 = _interopRequireDefault(_Typography);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var styles = {
  alert: {
    color: '#c09853',
    padding: '8px 35px 8px 14px',
    textShadow: '0 1px 0 rgba(255, 255, 255, 0.5)',
    backgroundColor: '#fcf8e3'
  }
};

exports.default = function (_ref) {
  var label = _ref.label,
      style = _ref.style,
      className = _ref.className;
  return _react2.default.createElement(
    _Typography2.default,
    { style: (0, _objectAssign2.default)({}, styles.alert, style), className: className },
    _react2.default.createElement(
      'strong',
      null,
      'Warning! '
    ),
    label
  );
};
//# sourceMappingURL=Alert.js.map