@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.68 kB
JavaScript
import t from"react";var l=({children:e,size:o=24,ariaLabel:i,color:p,ariaHidden:n=!0,style:m,mode:a="masked",maskId:s,...h})=>{let d=a!=="raw"&&!!s;return t.createElement("svg",{...h,"aria-hidden":n,role:n?void 0:"img",width:typeof o==="number"?`${o}px`:o,height:typeof o==="number"?`${o}px`:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{color:p,...m}},i&&!n&&t.createElement("title",null,i),d?t.createElement(t.Fragment,null,t.createElement("mask",{id:s,maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24"},t.createElement("rect",{width:"24",height:"24",fill:"#000"}),t.createElement("g",{fill:"none",style:{color:"#fff"}},e)),t.createElement("rect",{width:"24",height:"24",fill:"currentColor",mask:`url(#${s})`})):e)};import r from"react";var f=r.memo((e)=>{return r.createElement(l,{...e,ariaLabel:"components, figma",maskId:"square-outlined-radius-0-stroke-2-IconComponents"},r.createElement("g",{clipPath:"url(#clip0_10805_28777)"},r.createElement("path",{d:"M8.5 5.75L12 2.25L15.5 5.75L12 9.25L8.5 5.75Z",stroke:"currentColor",strokeWidth:"2"}),r.createElement("path",{d:"M2.25 12L5.75 8.5L9.25 12L5.75 15.5L2.25 12Z",stroke:"currentColor",strokeWidth:"2"}),r.createElement("path",{d:"M14.75 12L18.25 8.5L21.75 12L18.25 15.5L14.75 12Z",stroke:"currentColor",strokeWidth:"2"}),r.createElement("path",{d:"M8.5 18.25L12 14.75L15.5 18.25L12 21.75L8.5 18.25Z",stroke:"currentColor",strokeWidth:"2"})),r.createElement("defs",null,r.createElement("clipPath",{id:"clip0_10805_28777"},r.createElement("rect",{width:"24",height:"24",fill:"white"}))))}),C=f;export{C as default,f as IconComponents};
//# debugId=D1B987917F11B82C64756E2164756E21