'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 Add = function Add(props) {
	return React__default.createElement(
		index,
		__chunk_3._extends({ name: 'add' }, 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: 'M12 6.434v12M18 12.434H6' })
			);
		}
	);
};

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

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

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