UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 1.06 kB
import { jsx as _jsx } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconItalic = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M14.515 3h3.735a.75.75 0 0 1 0 1.5h-3.194l-4.545 15h2.739a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1 0-1.5h3.194l4.545-15H10.75a.75.75 0 0 1 0-1.5h3.765" }) })); default: return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { d: "M15.5 3h-7a.5.5 0 0 0 0 1h2.823L7.631 16H4.5a.5.5 0 0 0 0 1h7a.5.5 0 1 0 0-1H8.677l3.692-12H15.5a.5.5 0 0 0 0-1" }) })); } }; IconItalic.iconName = "italic"; export default IconItalic;