'use strict';

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

var React = require('react');
var React__default = _interopDefault(React);
var PropTypes = _interopDefault(require('prop-types'));
var index = require('../Icon/index.js');
var __chunk_2 = require('../../chunk-2b268ae7.js');
var __chunk_3 = require('../../chunk-6d243953.js');
require('../../chunk-f817ce38.js');

var Substract = function Substract(props) {
	return React__default.createElement(
		index,
		__chunk_3._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__default.createElement(
				'g',
				{ fill: 'none', fillRule: 'evenodd', stroke: primary, strokeWidth: '1.5' },
				React__default.createElement('circle', { cx: '12', cy: '12', r: '11.25', stroke: border }),
				React__default.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: __chunk_2.theme.palette.blue,
	hoverColor: __chunk_2.theme.palette.blue,
	disabledColor: __chunk_2.theme.palette.grey90,
	activeColor: __chunk_2.theme.palette.blue
};

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

module.exports = Substract;
//# sourceMappingURL=index.js.map
