import React from 'react';
import PropTypes from 'prop-types';
import Icon from '../Icon/index.js';
import { a as theme } from '../../chunk-aeb80e51.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 Substract = function Substract(props) {
	return React.createElement(
		Icon,
		_extends({ name: 'subtract' }, props),
		function (_ref) {
			var primary = _ref.primary,
			    secondary = _ref.secondary,
			    background = _ref.background,
			    _ref$border = _ref.border,
			    border = _ref$border === undefined ? 'transparent' : _ref$border;
			return React.createElement(
				'g',
				{ fill: 'none', fillRule: 'evenodd', stroke: primary, strokeWidth: '1.5' },
				React.createElement('circle', { cx: '12', cy: '12', r: '11.25', stroke: border }),
				React.createElement('path', { d: 'M18 12.434H6' })
			);
		}
	);
};

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

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

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