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

const viewBox = {"width":36,"height":36};
const content = `<style>.f9hulnb {
  fill: #880082;
  d: path("M0 27a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4v-.5H0z");
}

.nsxdzxy {
  fill: #fad220;
  d: path("M0 13.5h36V18H0z");
}

.nyq4yab {
  fill: #3558a0;
  d: path("M0 22.07h36v4.6H0z");
}

.o952_di {
  fill: #ff7300;
  d: path("M0 9.17h36v4.5H0z");
}

.rt5j0qb {
  fill: #138f3e;
  d: path("M0 17.83h36v4.5H0z");
}

.trqcs6b {
  fill: #ff000e;
  d: path("M32 5H4a4 4 0 0 0-4 4v.33h36V9a4 4 0 0 0-4-4");
}
</style><path class="f9hulnb"/><path class="nyq4yab"/><path class="rt5j0qb"/><path class="nsxdzxy"/><path class="o952_di"/><path class="trqcs6b"/>`;

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

export default Component;
