UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

10 lines (9 loc) 1.25 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconTextSize = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; 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: "M14.8028 4.47353C14.9161 4.18769 15.1925 4 15.5 4C15.8074 4 16.0838 4.18769 16.1971 4.47353L21.9471 18.9735C22.0998 19.3586 21.9115 19.7945 21.5264 19.9472C21.1414 20.0999 20.7055 19.9115 20.5528 19.5265L18.9561 15.5H12.0438L10.4477 19.5252C10.3742 19.7112 10.227 19.8676 10.0264 19.9472C9.64138 20.0999 9.20546 19.9115 9.05277 19.5265L8.24917 17.5H4.25074L3.44714 19.5265C3.29445 19.9115 2.85853 20.0999 2.47349 19.9472C2.08844 19.7945 1.90008 19.3586 2.05277 18.9735L5.55277 10.1474C5.66612 9.8616 5.94246 9.67391 6.24996 9.67391C6.55745 9.67391 6.83379 9.8616 6.94714 10.1474L9.74996 17.2154L14.8028 4.47353ZM4.84557 16H7.65435L6.24996 12.4585L4.84557 16ZM18.3612 14L15.5 6.78458L12.6387 14H18.3612Z" }) })); }; IconTextSize.iconName = "text-size"; export default IconTextSize;