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

const viewBox = {"width":64,"height":64};
const content = `<style>.edzde1bc {
  fill: #c28fef;
  d: path("M62 52c0 5.5-4.5 10-10 10H12C6.5 62 2 57.5 2 52V12C2 6.5 6.5 2 12 2h40c5.5 0 10 4.5 10 10z");
}

.jscsnacn {
  fill: #fff;
  d: path("M48.2 20.9c-.5-1.1-1.2-2.2-2.1-3.1s-2-1.6-3.2-2.1c-1.2-.4-2.6-.7-3.9-.7H29v34h10c1.3 0 2.7-.3 3.9-.8s2.3-1.2 3.2-2.1s1.6-1.9 2.1-3.1s.8-2.4.8-3.7V24.6c0-1.3-.3-2.5-.8-3.7M39 44.6h-5.4V19.4H39c3 0 5.4 2.3 5.4 5.2v14.8c0 2.8-2.4 5.2-5.4 5.2M19 15h4v34h-4z");
}
</style><path class="edzde1bc"/><path class="jscsnacn"/>`;

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

export default Component;
