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

const viewBox = {"width":36,"height":36};
const content = `<style>.e2psgvb {
  fill: #cc162b;
  d: path("M32 5H4a4 4 0 0 0-4 4v4h36V9a4 4 0 0 0-4-4");
}

.kbvcypb {
  fill: #eee;
  d: path("M0 21h36v2H0zm0-8h36v2H0z");
}

.v235fla {
  fill: #0d218a;
  d: path("M0 15h36v6H0z");
}

.xg-xvib {
  fill: #3c762c;
  d: path("M0 27a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4v-4H0z");
}
</style><path class="e2psgvb"/><path class="xg-xvib"/><path class="kbvcypb"/><path class="v235fla"/>`;

/** @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-gambia"} {...others} />);
}

export default Component;
