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

const viewBox = {"width":36,"height":36};
const content = `<style>.hthg_sbh {
  fill: #006aa7;
  d: path("M15.5 31H32c2.209 0 4-1.791 4-4.5v-6H15.5zM32 5H15.5v10.5H36V9a4 4 0 0 0-4-4M10.5 5H4a4 4 0 0 0-4 3.997V15.5h10.5zM0 20.5v6.004C.002 29.211 1.792 31 4 31h6.5V20.5z");
}

.xdmz7vu {
  fill: #fecc00;
  d: path("M15.5 5h-5v10.5H0v5h10.5V31h5V20.5H36v-5H15.5z");
}
</style><path class="hthg_sbh"/><path class="xdmz7vu"/>`;

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

export default Component;
