/* 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 IconTreeFill: FunctionComponent<Props> = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M384 320H192c-52.8 0-96-43.2-96-96v-64c0-52.8 43.2-96 96-96h192c52.8 0 96 43.2 96 96v64c0 52.8-43.2 96-96 96zM832 960H640c-52.8 0-96-43.2-96-96v-64c0-52.8 43.2-96 96-96h192c52.8 0 96 43.2 96 96v64c0 52.8-43.2 96-96 96zM832 640H640c-52.8 0-96-43.2-96-96v-64c0-52.8 43.2-96 96-96h192c52.8 0 96 43.2 96 96v64c0 52.8-43.2 96-96 96z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M575.094 864H288c-17.6 0-32-14.4-32-32s14.4-32 32-32h287.094v64z"
        fill={getIconColor(color, 1, '#333333')}
      />
      <Path
        d="M288 864c-17.6 0-32-14.4-32-32V288h64v544c0 17.6-14.4 32-32 32z"
        fill={getIconColor(color, 2, '#333333')}
      />
      <Path
        d="M288 481h288v64H288z"
        fill={getIconColor(color, 3, '#333333')}
      />
    </Svg>
  );
};

IconTreeFill.defaultProps = {
  size: 18,
};

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

export default IconTreeFill;
