/* tslint:disable */
/* eslint-disable */

import React, { FunctionComponent } from 'react';
import { ViewProps } from 'react-native';
import { Svg, GProps, Path } from 'react-native-svg';
import { getIconColor } from './helper';

interface Props extends GProps, ViewProps {
  size?: number;
  color?: string | string[];
}

let Phone: FunctionComponent<Props> = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M838.027264 645.378048a875.139072 875.139072 0 0 1 11.004928 9.352192c23.984128 20.736 33.595392 32.239616 34.613248 33.4848 0.01536 0.018432 2.091008 2.545664 4.155392 5.0944a339.017728 339.017728 0 0 1 2.95936 3.69664c0.50688 0.64512 0.925696 1.188864 1.214464 1.579008a21.48352 21.48352 0 0 1 1.64864 2.584576l5.097472 7.752704v0.739328c10.042368 21.046272 3.033088 48.800768-3.236864 62.826496-11.061248 24.745984-31.89248 49.841152-47.69792 65.076224-31.812608 30.656512-75.312128 65.845248-129.782784 65.845248-5.691392 0-11.486208-0.38912-17.220608-1.152-39.673856-5.188608-100.29056-30.140416-166.26688-68.4544-71.617536-41.588736-140.713984-93.922304-194.561024-147.357696-53.853184-53.449728-106.605568-122.06592-148.540416-193.211392-38.7072-65.671168-63.955968-126.14656-69.271552-165.91872-3.494912-26.046464 2.665472-55.016448 17.819648-83.766272 13.536256-25.68192 33.723392-50.458624 58.382336-71.653376 1.458176-1.2544 2.88768-2.48832 4.297728-3.704832 18.961408-16.366592 35.34848-30.512128 62.532608-41.088 9.550848-4.21888 18.535424-6.270976 27.454464-6.270976 8.206336 0 16.42496 1.788928 24.428544 5.317632l0.36352 0.164864c3.610624 1.696768 9.5744 4.943872 11.143168 5.804032 4.677632 2.358272 30.255104 16.468992 58.569728 55.81824 9.04192 12.57472 23.277568 33.799168 33.645568 52.248576 17.44384 31.045632 28.796928 57.872384 29.27104 59.000832l0.324608 0.770048 2.19648 6.903808c7.31136 19.4816 3.016704 39.697408-11.541504 54.223872-0.843776 0.869376-1.82784 1.907712-1.847296 1.927168l-1.20832 1.275904-0.913408 0.641024c-0.618496 0.53248-1.845248 1.624064-2.625536 2.318336-2.208768 1.965056-2.879488 2.557952-3.651584 3.14368l-0.672768 0.487424c-9.34912 6.42048-12.716032 8.342528-16.278528 10.377216-2.418688 1.381376-4.919296 2.807808-10.32192 6.332416l-0.249856 0.159744c-9.22112 5.786624-17.96096 9.430016-27.214848 13.289472-7.283712 3.035136-15.5392 6.4768-25.57952 11.594752-14.404608 7.34208-14.91456 28.23168-11.943936 35.15392 17.768448 41.4208 49.324032 83.33824 102.313984 135.913472 46.71488 46.401536 92.622848 76.101632 131.36896 99.033088 4.707328 2.786304 9.366528 4.140032 14.241792 4.140032 13.69088 0 26.8288-11.138048 32.729088-22.13888 4.540416-8.469504 8.79616-17.330176 12.551168-25.146368 3.06176-6.376448 5.95456-12.398592 8.704-17.622016l0.06656-0.12288c6.852608-12.775424 11.877376-20.978688 14.884864-25.61024 2.146304-3.304448 4.241408-6.530048 6.69184-9.148416 5.907456-8.717312 15.209472-16.047104 25.100288-19.607552 5.56032-2.003968 11.995136-3.064832 18.60096-3.064832 8.523776 0 16.68096 1.793024 22.965248 5.049344l16.869376 8.823808-0.011264 0.021504c1.284096 0.690176 2.605056 1.544192 4.14208 2.538496 1.85344 1.19808 4.550656 2.958336 7.952384 5.20192a1656.81664 1656.81664 0 0 1 27.506688 18.582528 421.75488 421.75488 0 0 1 6.074368 4.27008l46.751744 36.48z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

Phone.defaultProps = {
  size: 18,
};

Phone = React.memo ? React.memo(Phone) : Phone;

export default Phone;
