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

const viewBox = {"width":64,"height":64};
const content = `<style>.bjd7ezbe {
  fill: #ffce31;
  d: path("M3.7 22C2.6 25.1 2 28.5 2 32s.6 6.9 1.7 10h56.6c1.1-3.1 1.7-6.5 1.7-10s-.6-6.9-1.7-10z");
}

.j_d52ph {
  fill: #c94747;
  d: path("M32 2C18.9 2 7.8 10.3 3.7 22h56.6C56.2 10.3 45.1 2 32 2");
}

.me49upx {
  fill: #699635;
  d: path("M32 62c13.1 0 24.2-8.3 28.3-20H3.7C7.8 53.7 18.9 62 32 62");
}

.rxv8-abs {
  fill: #3e4347;
  d: path("m32 37.3l6.2 4.7l-2.4-7.6l6.2-4.9h-7.6L32 22l-2.3 7.5H22l6.2 4.9l-2.4 7.6z");
}
</style><path class="j_d52ph"/><path class="me49upx"/><path class="bjd7ezbe"/><path class="rxv8-abs"/>`;

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

export default Component;
