import React from 'react';
import PropTypes from 'prop-types';
import { a as theme } from '../../chunk-aeb80e51.js';
import Icon from '../Icon/index.js';
import { a as classCallCheck, b as createClass, c as defineProperty, d as inherits, e as objectWithoutProperties, f as possibleConstructorReturn, g as slicedToArray, h as _typeof, i as _extends } from '../../chunk-aad905a2.js';
import '../../chunk-566df01b.js';

var BackArrow = function BackArrow(props) {
  return React.createElement(
    Icon,
    _extends({ name: 'back-arrow' }, props),
    function (_ref) {
      var primary = _ref.primary,
          secondary = _ref.secondary,
          background = _ref.background,
          broder = _ref.broder;
      return React.createElement(
        'g',
        {
          fill: 'none',
          fillRule: 'evenodd',
          stroke: primary,
          strokeLinecap: 'round',
          strokeLinejoin: 'round',
          strokeWidth: '1.93'
        },
        React.createElement('path', { d: 'M18 12H8M12 18l-6-6 6-6' })
      );
    }
  );
};

var colorPropType = PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
  primary: PropTypes.string,
  secondary: PropTypes.string,
  border: PropTypes.string,
  background: PropTypes.string
})]);
BackArrow.defaultProps = {
  color: theme.palette.black,
  hoverColor: theme.palette.black,
  disabledColor: theme.palette.grey80,
  activeColor: theme.palette.black
};

BackArrow.propTypes = {
  color: colorPropType,
  disabledColor: colorPropType,
  activeColor: colorPropType,
  hoverColor: colorPropType
};

export default BackArrow;
//# sourceMappingURL=index.js.map
