import { Icon } from '@iconify/css-solid';
import { splitProps } from 'solid-js';

const viewBox = {"width":36,"height":36};
const content = `<style>.ific4ibo {
  fill: #00853f;
  d: path("M18.869 16.674L18 14l-.869 2.674H14.32l2.274 1.652L15.726 21L18 19.348L20.274 21l-.868-2.674l2.274-1.652z");
}

.jvb4swm {
  fill: #fdef42;
  d: path("M12 5h12v26H12z");
}

.x360wmb {
  fill: #e31b23;
  d: path("M32 5h-8v26h8a4 4 0 0 0 4-4V9a4 4 0 0 0-4-4");
}

.z1z98sd {
  fill: #00853f;
  d: path("M4 5a4 4 0 0 0-4 4v18a4 4 0 0 0 4 4h8V5z");
}
</style><path class="z1z98sd"/><path class="jvb4swm"/><path class="x360wmb"/><path class="ific4ibo"/>`;

/** @param props {{width?: string; height?: string;}} */
function Component(props) {
	const [local, others] = splitProps(props, ["width","height"]);

	return (<Icon width={local.width} height={local.height} viewBox={viewBox} content={content} fallback={"twemoji:flag-senegal"} {...others} />);
}

export default Component;
