import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["className", "hometext"];
import PropTypes from 'prop-types';
import React from 'react';
import classnames from 'classnames';
import { HomeGlyph } from '@wfp/icons-react';
import { settings } from '../../globals/js';
var prefix = settings.prefix;

var BreadcrumbHome = function BreadcrumbHome(_ref) {
  var className = _ref.className,
      hometext = _ref.hometext,
      other = _objectWithoutProperties(_ref, _excluded);

  var classNames = classnames("".concat(prefix, "--breadcrumb-home"), className);
  return /*#__PURE__*/React.createElement(HomeGlyph //icon={iconHome}
  , _extends({
    fill: "#0b77c2",
    width: "14",
    height: "14",
    description: hometext,
    className: classNames
  }, other));
};

BreadcrumbHome.propTypes = {
  /**
   * Specify an optional className to be added to the `Home` Icon
   */
  className: PropTypes.string,

  /**
   * Specify an optional text for the `Home` Icon
   */
  hometext: PropTypes.string
};
export default BreadcrumbHome;