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: "Star24__StyledPath",
  componentId: "sc-14y3rlw-0"
})(["", ""], function (p) {
  var strokeColor = getColor(p.theme, p.theme.color.svgStroke, p.strokeColorFn);
  return "stroke: ".concat(strokeColor, ";");
});
export var Star24 = function Star24(_ref) {
  var stroke = _ref.stroke,
    props = _objectWithoutProperties(_ref, _excluded);
  return React.createElement(IconBase, props, React.createElement(StyledPath, {
    strokeColorFn: stroke,
    strokeWidth: "2",
    d: "M12,3.28909585 L9.7518819,10.3333333 L2.94990324,10.3333333 L8.34965326,14.4696321 L6.10344598,21.3821992 L12,17.0986537 L17.896554,21.3821992 L15.6503467,14.4696321 L21.0500967,10.3333333 L14.2481181,10.3333333 L12,3.28909585 Z"
  }));
};
Star24.displayName = 'OldIcon.Star24';