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

const viewBox = {"width":36,"height":36};
const content = `<style>.ch5nvpo {
  fill: #a7122d;
  d: path("M0 9.333V9a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4v.333z");
}

.drukz5b {
  fill: #eee;
  d: path("M0 9.181h36v4.485H0z");
}

.h5v3z1b {
  fill: #eee;
  d: path("M0 22.181h36v4.485H0z");
}

.h8omu2b {
  fill: #292648;
  d: path("M0 13.513h36v8.821H0z");
}

.ox5xv6v {
  fill: #a7122d;
  d: path("M0 26.518V27a4 4 0 0 0 4 4h28a4 4 0 0 0 4-4v-.482z");
}
</style><path class="ox5xv6v"/><path class="h5v3z1b"/><path class="h8omu2b"/><path class="drukz5b"/><path class="ch5nvpo"/>`;

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

export default Component;
