@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.
11 lines • 4.06 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconCirclePlaceholderOff/index.tsx"],
"sourcesContent": [
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\n} & SVGProps<SVGSVGElement>;\n\nexport const CentralIconBase: React.FC<\n CentralIconBaseProps & { ariaLabel?: string }\n> = ({\n children,\n size = 24,\n ariaLabel,\n color,\n ariaHidden = true,\n style,\n mode = \"masked\",\n maskId,\n ...props\n}) => {\n const masked = mode !== \"raw\" && !!maskId;\n return (\n <svg\n {...props}\n aria-hidden={ariaHidden}\n role={ariaHidden ? undefined : \"img\"}\n width={typeof size === \"number\" ? `${size}px` : size}\n height={typeof size === \"number\" ? `${size}px` : size}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n style={{ color, ...style }}\n >\n {ariaLabel && !ariaHidden && <title>{ariaLabel}</title>}\n {masked ? (\n <>\n <mask\n id={maskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {children}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${maskId})`}\n />\n </>\n ) : (\n children\n )}\n </svg>\n );\n};\n",
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconCirclePlaceholderOff: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"circle-placeholder-off\" maskId=\"square-outlined-radius-0-stroke-2-IconCirclePlaceholderOff\"><path d=\"M4.45711 3.04289L3.75 2.33579L2.33579 3.75L3.04289 4.45711L4.45711 3.04289ZM19.5429 20.9571L20.25 21.6642L21.6642 20.25L20.9571 19.5429L19.5429 20.9571ZM6.03681 6.66691L6.70373 5.92178L5.21346 4.58795L4.54655 5.33309L6.03681 6.66691ZM18.6669 19.4535L19.412 18.7865L18.0782 17.2963L17.3331 17.9632L18.6669 19.4535ZM12 20C7.58172 20 4 16.4183 4 12H2C2 17.5228 6.47715 22 12 22V20ZM3.04289 4.45711L19.5429 20.9571L20.9571 19.5429L4.45711 3.04289L3.04289 4.45711ZM12 4C16.4183 4 20 7.58172 20 12H22C22 6.47715 17.5228 2 12 2V4ZM8.44504 4.83103C9.51481 4.2994 10.721 4 12 4V2C10.4053 2 8.89512 2.37401 7.55497 3.04L8.44504 4.83103ZM20 12C20 13.279 19.7006 14.4852 19.169 15.555L20.96 16.445C21.626 15.1049 22 13.5947 22 12H20ZM4 12C4 9.95042 4.76945 8.08293 6.03681 6.66691L4.54655 5.33309C2.96367 7.10161 2 9.43946 2 12H4ZM17.3331 17.9632C15.9171 19.2306 14.0496 20 12 20V22C14.5605 22 16.8984 21.0363 18.6669 19.4535L17.3331 17.9632Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCirclePlaceholderOff;\n"
],
"mappings": "AAAA,qBAUO,IAAM,EAET,EACF,WACA,OAAO,GACP,YACA,QACA,aAAa,GACb,QACA,OAAO,SACP,YACG,KACC,CACJ,IAAM,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,gBAqCE,MArCF,IACM,EACJ,cAAa,EACb,KAAM,EAAa,OAAY,MAC/B,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAa,CAAC,GAAc,gBAAoB,QAApB,KAAQ,CAAY,EAChD,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GC9DN,qBAGO,IAAM,EAA6E,EAAM,KAAK,CAAC,IAAU,CAC9G,OAAO,gBAAukC,EAAvkC,IAAqB,EAAO,UAAU,yBAAyB,OAAO,8DAA6D,gBAAC,OAAD,CAAM,EAAE,q6BAAq6B,KAAK,eAAc,CAAI,EAC/kC,EAEc",
"debugId": "A52352E11F3FC14864756E2164756E21",
"names": []
}