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

const viewBox = {"width":36,"height":36};
const content = `<style>.dg5mbem {
  fill: #1a206d;
  d: path("M0 11.5h36V18H0z");
}

.ixglw5b {
  fill: #00a551;
  d: path("M0 24.5V27a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4v-2.5z");
}

.m4u8heb {
  fill: #ffd500;
  d: path("M0 18h36v6.5H0z");
}

.x6624kb {
  fill: #ea2839;
  d: path("M32 5H4a4 4 0 0 0-4 4v2.5h36V9a4 4 0 0 0-4-4");
}
</style><path class="x6624kb"/><path class="dg5mbem"/><path class="m4u8heb"/><path class="ixglw5b"/>`;

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

export default Component;
