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

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

const Payme = ({ height = 512, width = 512 }: Props) => (
  <Svg width={width} height={height} fill="none" viewBox="0 0 512 512">
    <Path fill="url(#a)" d="M0 0h512v512H0z" />
    <Defs>
      <Pattern
        id="a"
        width={1}
        height={1}
        patternContentUnits="objectBoundingBox"
      >
        <Use xlinkHref="#b" transform="scale(.00044)" />
      </Pattern>
      <Image
        xlinkHref="data:image/png;base64,[encoded data, 68580 characters]"
        id="b"
        width={2250}
        height={2250}
        preserveAspectRatio="none"
      />
    </Defs>
  </Svg>
);
export default Payme;
