@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 • 3.7 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconLiveFull/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 IconLiveFull: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"live-full, signal, podcast\" maskId=\"square-outlined-radius-0-stroke-2-IconLiveFull\"><path d=\"M5.63604 5.63623C4.00736 7.26491 3 9.51491 3 12.0002C3 14.4855 4.00736 16.7355 5.63604 18.3642M8.46447 8.46466C7.55964 9.36948 7 10.6195 7 12.0002C7 13.3809 7.55964 14.6309 8.46447 15.5357M15.5355 15.5357C16.4404 14.6309 17 13.3809 17 12.0002C17 10.6195 16.4404 9.36948 15.5355 8.46466M18.364 18.3642C19.9926 16.7355 21 14.4855 21 12.0002C21 9.51491 19.9926 7.26491 18.364 5.63623M13 12.0002C13 12.5525 12.5523 13.0002 12 13.0002C11.4477 13.0002 11 12.5525 11 12.0002C11 11.4479 11.4477 11.0002 12 11.0002C12.5523 11.0002 13 11.4479 13 12.0002Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"square\"/></CentralIconBase>;\n});\n\nexport default IconLiveFull;\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,EAAiE,EAAM,KAAK,CAAC,IAAU,CAClG,OAAO,gBAAsuB,EAAtuB,IAAqB,EAAO,UAAU,6BAA6B,OAAO,kDAAiD,gBAAC,OAAD,CAAM,EAAE,miBAAmiB,OAAO,eAAe,YAAY,IAAI,cAAc,SAAQ,CAAI,EAC9uB,EAEc",
"debugId": "CA3268AD1BC586E764756E2164756E21",
"names": []
}