@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.17 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconNetify/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 IconNetify: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"netify\" maskId=\"square-outlined-radius-0-stroke-2-IconNetify\"><path d=\"M6.94767 18.4848H6.73996L5.70312 17.448V17.2403L7.28816 15.6552H8.38627L8.5327 15.8017V16.8998L6.94767 18.4848ZM5.70312 6.75788V6.55017L6.73996 5.51334H6.94767L8.5327 7.09837V8.19648L8.38627 8.34291H7.28816L5.70312 6.75788Z\" fill=\"currentColor\"/><path d=\"M14.8303 15.1428H13.3219L13.1959 15.0168V11.4857C13.1959 10.8575 12.949 10.3706 12.1914 10.3536C11.8015 10.3434 11.3555 10.3536 10.8788 10.3723L10.8072 10.4456V15.0151L10.6812 15.1411H9.17286L9.04688 15.0151V8.98316L9.17286 8.85709H12.5676C13.8871 8.85709 14.9563 9.92623 14.9563 11.2457V15.0168L14.8303 15.1428Z\" fill=\"currentColor\"/><path d=\"M7.15974 12.882H1.12598L1 12.756V11.2441L1.12598 11.1181H7.15974L7.28573 11.2441V12.756L7.15974 12.882ZM22.874 12.882H16.8403L16.7143 12.756V11.2441L16.8403 11.1181H22.874L23 11.2441V12.756L22.874 12.882ZM11.13 6.97248V2.44718L11.256 2.3212H12.7679L12.8938 2.44718V6.97248L12.7679 7.09846H11.256L11.13 6.97248ZM11.13 21.5529V17.0276L11.256 16.9016H12.7679L12.8938 17.0276V21.5529L12.7679 21.6788H11.256L11.13 21.5529Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconNetify;\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,EAA+D,EAAM,KAAK,CAAC,IAAU,CAChG,OAAO,gBAA+nC,EAA/nC,IAAqB,EAAO,UAAU,SAAS,OAAO,gDAA+C,gBAAC,OAAD,CAAM,EAAE,kOAAkO,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,2TAA2T,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,oaAAoa,KAAK,eAAc,CAAI,EACvoC,EAEc",
"debugId": "C73E69D69618DE1664756E2164756E21",
"names": []
}