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 Star = function Star(props) {
	return React.createElement(
		Icon,
		_extends({ name: 'add' }, props),
		function (_ref) {
			var primary = _ref.primary,
			    secondary = _ref.secondary,
			    background = _ref.background,
			    _ref$border = _ref.border;
			return React.createElement(
				'g',
				{ fillRule: 'evenodd', fill: primary, strokeWidth: '1.5' },
				React.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
				React.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.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: theme.palette.blue, border: 'transparent' },
	hoverColor: { primary: theme.palette.blue, border: 'transparent' },
	disabledColor: { primary: theme.palette.grey90, border: 'transparent' },
	activeColor: { primary: theme.palette.blue, border: 'transparent' }
};

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

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