UNPKG

@central-icons-react/square-outlined-radius-0-stroke-2

Version:

A collection of square outlined React icons with 0px radius and 2px stroke width, designed for use in React applications.

4 lines (2 loc) 1.25 kB
import e from"react";var i=({children:o,size:r=24,ariaLabel:a,color:l,ariaHidden:n=!0,style:m,mode:p="masked",maskId:s,...d})=>{let u=p!=="raw"&&!!s;return e.createElement("svg",{...d,"aria-hidden":n,role:n?void 0:"img",width:typeof r==="number"?`${r}px`:r,height:typeof r==="number"?`${r}px`:r,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:l,...m}},a&&!n&&e.createElement("title",null,a),u?e.createElement(e.Fragment,null,e.createElement("mask",{id:s,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},e.createElement("rect",{width:"24",height:"24",fill:"#000"}),e.createElement("g",{fill:"none",style:{color:"#fff"}},o)),e.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${s})`})):o)};import t from"react";var c=t.memo((o)=>{return t.createElement(i,{...o,ariaLabel:"code-medium, syntax, brackets, dev",maskId:"square-outlined-radius-0-stroke-2-IconCodeMedium"},t.createElement("path",{d:"M17 8L21 12L17 16",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"}),t.createElement("path",{d:"M7 16L3 12L7 8",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"square"}))}),w=c;export{w as default,c as IconCodeMedium}; //# debugId=D97271A6B7D2D4C864756E2164756E21