'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 Star = function Star(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;
			return React__default.createElement(
				'g',
				{ fillRule: 'evenodd', fill: primary, strokeWidth: '1.5' },
				React__default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
				React__default.createElement('path', { d: 'M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z' }),
				React__default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
			);
		}
	);
};

var colorPropType = PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
	primary: PropTypes.string,
	secondary: PropTypes.string,
	border: PropTypes.string,
	background: PropTypes.string
})]);
Star.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' }
};

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

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