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: "CrossThin__StyledPath",
  componentId: "sc-1c5h666-0"
})(["", ""], function (p) {
  var strokeColor = getColor(p.theme, p.theme.color.svgStroke, p.strokeColorFn);
  return "stroke: ".concat(strokeColor, ";");
});
export var CrossThin = function CrossThin(_ref) {
  var stroke = _ref.stroke,
    props = _objectWithoutProperties(_ref, _excluded);
  return React.createElement(IconBase, props, React.createElement(StyledPath, {
    strokeWidth: 2,
    d: "m 1 1 l 22 22 m -22 0 l 22 -22",
    strokeColorFn: stroke
  }));
};
CrossThin.displayName = 'OldIcon.CrossThin';