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

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

const CreditCard = ({ color, height = 24, width = 24 }: Props) => (
  <Svg width={width} height={height} fill="none" viewBox="0 0 24 24">
    <Path
      stroke={color}
      strokeLinecap="square"
      strokeWidth={1.5}
      d="M3 5.109h18.5v14.06H3zM15.102 15.481h3.475M10.876 15.481h.748M3 9.922h18.5"
    />
  </Svg>
);
export default CreditCard;
