import * as React from 'react';
import Svg, { Path } from 'react-native-svg';

interface Props {
  color: string;
  width?: number;
  height?: number;
}

const BarCode = ({ color, height = 24, width = 24 }: Props) => (
  <Svg width={width} height={height} fill="none" viewBox="0 0 24 24">
    <Path
      stroke={color}
      strokeLinecap="round"
      strokeLinejoin="round"
      strokeMiterlimit={10}
      strokeWidth={1.5}
      d="M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5ZM6 8v8M9 8v4M9 15v1M15 8v1M12 8v8M15 12v4M18 8v8"
    />
  </Svg>
);
export default BarCode;
