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

const viewBox = {"width":36,"height":36};
const content = `<style>.erwwbhb {
  fill: #436f4d;
  d: path("M4 31h28a4 4 0 0 0 4-4v-5H0v5a4 4 0 0 0 4 4");
}

.jfg9nvb {
  fill: #cd2a3e;
  d: path("M32 5H4a4 4 0 0 0-4 4v5h36V9a4 4 0 0 0-4-4");
}

.qtc2oyy {
  fill: #eee;
  d: path("M0 14h36v8H0z");
}
</style><path class="qtc2oyy"/><path class="jfg9nvb"/><path class="erwwbhb"/>`;

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

export default Component;
