import React from 'react';

interface IconProps extends React.SVGProps<SVGSVGElement> {
  size?: number;
  color?: string;
}

const BaobabTree: React.FC<IconProps> = ({ size = 24, color = 'currentColor', ...props }) => (
  <svg
    width={size}
    height={size}
    viewBox="0 0 24 24"
    fill="none"
    stroke={color}
    strokeWidth="2"
    strokeLinecap="round"
    strokeLinejoin="round"
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <path d="M12 22v-8" />
    <path d="M8 14c-2-2-2-6 0-8 2-2 6-2 8 0 2 2 2 6 0 8" />
    <path d="M6 8c-1-2-1-4 0-5" />
    <path d="M18 8c1-2 1-4 0-5" />
    <path d="M9 6c0-2 1-3 2-3" />
    <path d="M15 6c0-2-1-3-2-3" />
    <path d="M12 8c-1-1-2-2-3-2" />
    <path d="M12 8c1-1 2-2 3-2" />
    <path d="M10 22h4" />
  </svg>
);

export default BaobabTree;

