import type { SVGProps } from "react";

export interface SLBProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * Solomon Islands — SLB icon from flag category
 *
 * @example
 * <SLB size={16} />
 * <SLB size={32} className="text-primary" />
 */
export const SLB = ({ size = 16, ...props }: SLBProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <g clipPath="url(#clip0_43_2447)">
<path d="M20.4856 20.4856C24.9861 15.9851 25.1638 8.79988 21.0206 4.08618L12 11.9999L4.08618 21.0206C8.79988 25.1638 15.9851 24.9861 20.4856 20.4856Z" fill="#496E2D"/>
<path d="M3.51438 3.5144C8.01488 -0.986107 15.2001 -1.16381 19.9138 2.97942L12 12.0001L2.97944 19.9138C-1.16383 15.2001 -0.986083 8.01491 3.51438 3.5144Z" fill="#0052B4"/>
<path d="M19.9137 2.97937L2.97937 19.9138C3.15056 20.1085 3.32831 20.2996 3.51435 20.4856C3.70035 20.6716 3.89146 20.8493 4.08627 21.0206L21.0205 4.08618C20.8494 3.89137 20.6716 3.70031 20.4855 3.51426C20.2996 3.32835 20.1085 3.15056 19.9137 2.97937Z" fill="#FFDA44"/>
<path d="M5.05594 4.17355L5.31502 4.97075H6.15319L5.4751 5.46336L5.73408 6.26057L5.05594 5.76786L4.3778 6.26057L4.63688 5.46336L3.95874 4.97075H4.79696L5.05594 4.17355Z" fill="#F0F0F0"/>
<path d="M9.33744 4.17355L9.59651 4.97075H10.4346L9.75654 5.46336L10.0156 6.26057L9.33744 5.76786L8.6593 6.26057L8.91837 5.46336L8.24023 4.97075H9.0784L9.33744 4.17355Z" fill="#F0F0F0"/>
<path d="M5.05594 8.34763L5.31502 9.14483H6.15319L5.4751 9.63748L5.73408 10.4347L5.05594 9.94198L4.3778 10.4347L4.63688 9.63748L3.95874 9.14483H4.79696L5.05594 8.34763Z" fill="#F0F0F0"/>
<path d="M9.33744 8.34763L9.59651 9.14483H10.4346L9.75654 9.63748L10.0156 10.4347L9.33744 9.94198L8.6593 10.4347L8.91837 9.63748L8.24023 9.14483H9.0784L9.33744 8.34763Z" fill="#F0F0F0"/>
<path d="M7.19674 6.26056L7.45581 7.05776H8.29394L7.61584 7.55042L7.87487 8.34762L7.19674 7.85492L6.5186 8.34762L6.77763 7.55042L6.09949 7.05776H6.9377L7.19674 6.26056Z" fill="#F0F0F0"/>
</g>
<defs>
<clipPath id="clip0_43_2447">
<rect fill="white" height="24" width="24"/>
</clipPath>
</defs>
  </svg>
);
