function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

/*
Copyright (c) Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
// BASEUI-GENERATED-REACT-ICON
// DO NOT EDIT THIS FILE DIRECTLY, SEE README.md
import * as React from 'react';
import { useStyletron } from '../styles';
import { mergeOverride, toObjectOverride } from '../helpers/overrides';
import Icon from './icon';

function ChevronLeftSmall(props, ref) {
  const [, theme] = useStyletron();
  const {
    title = 'Left Small',
    size,
    color,
    overrides = {},
    ...restProps
  } = props;
  const SvgOverride = mergeOverride( // Icons from the theme target the SVG override in the underlying Icon component
  {
    component: theme.icons && theme.icons.ChevronLeftSmall ? theme.icons.ChevronLeftSmall : null
  }, overrides && overrides.Svg ? toObjectOverride(overrides.Svg) : {});
  return /*#__PURE__*/React.createElement(Icon, _extends({
    viewBox: "0 0 24 24",
    ref: ref,
    title: title,
    size: size,
    color: color,
    overrides: {
      Svg: SvgOverride
    }
  }, restProps), /*#__PURE__*/React.createElement("rect", {
    width: "24",
    height: "24",
    fill: "white"
  }), /*#__PURE__*/React.createElement("path", {
    fillRule: "evenodd",
    clipRule: "evenodd",
    d: "M8.93937 10.9394C8.35358 11.5251 8.35358 12.4749 8.93937 13.0607L12.9394 17.0607C13.5252 17.6465 14.4749 17.6465 15.0607 17.0607C15.6465 16.4749 15.6465 15.5251 15.0607 14.9393L12.1213 12L15.0607 9.06066C15.6465 8.47487 15.6465 7.52512 15.0607 6.93934C14.4749 6.35355 13.5252 6.35355 12.9394 6.93934L8.93937 10.9394Z",
    fill: "black"
  }));
}

export default /*#__PURE__*/React.forwardRef(ChevronLeftSmall);