@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.61 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconCodeBlockFilled = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M19 3C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H19ZM10.7803 8.21973C10.4874 7.92683 10.0126 7.92683 9.71973 8.21973L6.46973 11.4697C6.17683 11.7626 6.17683 12.2374 6.46973 12.5303L9.71973 15.7803L9.77637 15.832C10.0709 16.0723 10.5057 16.0549 10.7803 15.7803C11.0549 15.5057 11.0723 15.0709 10.832 14.7764L10.7803 14.7197L8.06055 12L10.7803 9.28027C11.0732 8.98738 11.0732 8.51262 10.7803 8.21973ZM14.2803 8.21973C13.9874 7.92683 13.5126 7.92683 13.2197 8.21973C12.9268 8.51262 12.9268 8.98738 13.2197 9.28027L15.9395 12L13.2197 14.7197L13.168 14.7764C12.9277 15.0709 12.9451 15.5057 13.2197 15.7803C13.4943 16.0549 13.9291 16.0723 14.2236 15.832L14.2803 15.7803L17.5303 12.5303C17.8232 12.2374 17.8232 11.7626 17.5303 11.4697L14.2803 8.21973Z" }) }));
default:
return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 3C16.1046 3 17 3.89543 17 5V15C17 16.1046 16.1046 17 15 17H5C3.89543 17 3 16.1046 3 15V5C3 3.89543 3.89543 3 5 3H15ZM8.85352 7.14648C8.68265 6.97562 8.41869 6.95387 8.22461 7.08203L8.14648 7.14648L5.64648 9.64648C5.45122 9.84175 5.45122 10.1583 5.64648 10.3535L8.14648 12.8535L8.22461 12.918C8.41869 13.0461 8.68265 13.0244 8.85352 12.8535C9.02438 12.6827 9.04613 12.4187 8.91797 12.2246L8.85352 12.1465L6.70703 10L8.85352 7.85352L8.91797 7.77539C9.04613 7.58131 9.02438 7.31735 8.85352 7.14648ZM11.7754 7.08203C11.5813 6.95387 11.3173 6.97562 11.1465 7.14648C10.9756 7.31735 10.9539 7.58131 11.082 7.77539L11.1465 7.85352L13.293 10L11.1465 12.1465L11.082 12.2246C10.9539 12.4187 10.9756 12.6827 11.1465 12.8535C11.3173 13.0244 11.5813 13.0461 11.7754 12.918L11.8535 12.8535L14.3535 10.3535C14.5488 10.1583 14.5488 9.84175 14.3535 9.64648L11.8535 7.14648L11.7754 7.08203Z" }) }));
}
};
IconCodeBlockFilled.iconName = "code-block--filled";
export default IconCodeBlockFilled;