import type { SVGProps } from "react";
import { Ref, forwardRef } from "react";
import { DefaultTheme, useTheme } from 'styled-components';
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'fill' | 'stroke'> {
  /**
   * @default "currentColor"
   */
  fill?: keyof DefaultTheme['colors'] | (string & {});
  stroke?: keyof DefaultTheme['colors'] | (string & {});
}
const SvgArrowsVertical = ({
  fill: fillProp = "currentColor",
  stroke: strokeProp,
  ...props
}: IconProps, ref: Ref<SVGSVGElement>) => {
  const {
    colors
  } = useTheme();
  const fill = fillProp && fillProp in colors ? colors[fillProp as keyof DefaultTheme['colors']] : fillProp;
  const stroke = strokeProp && strokeProp in colors ? colors[strokeProp as keyof DefaultTheme['colors']] : strokeProp;
  return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width={16} height={16} fill={fill} stroke={stroke} ref={ref} {...props}><path d="m17.06 31.06 6-6a1.5 1.5 0 0 0-2.12-2.12l-3.44 3.439V5.62l3.44 3.44a1.5 1.5 0 0 0 2.12-2.122l-6-6a1.5 1.5 0 0 0-2.123 0l-5.998 6a1.507 1.507 0 0 0 2.133 2.133l3.428-3.45v20.757l-3.44-3.44a1.5 1.5 0 0 0-2.12 2.122l6 6a1.5 1.5 0 0 0 2.123 0z" /></svg>;
};
const ForwardRef = forwardRef(SvgArrowsVertical);
export default ForwardRef;