var _excluded = ["stroke"];
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import React from 'react';
import styled from 'styled-components';
import { getColor, IconBase } from '../IconBase';
var StyledPath = styled.path.withConfig({
  displayName: "Star__StyledPath",
  componentId: "sc-1xpx7aa-0"
})(["", ""], function (p) {
  var strokeColor = getColor(p.theme, p.theme.color.svgStroke, p.strokeColorFn);
  return "stroke: ".concat(strokeColor, ";");
});
export var Star = function Star(_ref) {
  var stroke = _ref.stroke,
    props = _objectWithoutProperties(_ref, _excluded);
  return React.createElement(IconBase, props, React.createElement(StyledPath, {
    strokeColorFn: stroke,
    strokeWidth: "1",
    d: "M12,1.64454792 L9.3866076,9.8333333 L1.47495162,9.8333333 L7.76482663,14.6514827 L5.15238966,22.6910996 L12,17.7166602 L18.8476103,22.6910996 L16.2351733,14.6514827 L22.5250484,9.8333333 L14.6133924,9.8333333 L12,1.64454792 Z"
  }));
};
Star.displayName = 'OldIcon.Star';