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.

11 lines 4.23 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconPackageSecurity/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 IconPackageSecurity: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"package-security,delivery\" maskId=\"square-outlined-radius-0-stroke-2-IconPackageSecurity\"><path d=\"M4 4V3H3V4H4ZM4 20H3V21H4V20ZM20 4H21V3H20V4ZM10 4V3H8V4H9H10ZM9 9H8V10H9V9ZM15 9V10H16V9H15ZM16 4V3H14V4H15H16ZM15 15L14.5071 14.1299L14 14.4172V15H15ZM18 21L17.5939 21.9138L18 22.0943L18.4061 21.9138L18 21ZM21 15H22V14.4172L21.4929 14.1299L21 15ZM4 4H3V20H4H5V4H4ZM4 20V21H12V20V19H4V20ZM4 4V5H20V4V3H4V4ZM20 4H19V11H20H21V4H20ZM9 4H8V9H9H10V4H9ZM9 9V10H15V9V8H9V9ZM15 9H16V4H15H14V9H15ZM15 15H14V17.7171H15H16V15H15ZM21 17.7171H22V15H21H20V17.7171H21ZM21 15L21.4929 14.1299C20.3418 13.4777 19.1922 13.1175 18 13.1175C16.8078 13.1175 15.6582 13.4777 14.5071 14.1299L15 15L15.4929 15.8701C16.4187 15.3456 17.2306 15.1175 18 15.1175C18.7694 15.1175 19.5813 15.3456 20.5071 15.8701L21 15ZM18 21L18.4061 21.9138C19.1269 21.5935 20.0209 21.1912 20.7196 20.5711C21.4708 19.9044 22 18.9865 22 17.7171H21H20C20 18.3453 19.7703 18.7395 19.3921 19.0752C18.9613 19.4575 18.3553 19.7478 17.5939 20.0862L18 21ZM15 17.7171H14C14 18.9865 14.5292 19.9044 15.2804 20.5711C15.9791 21.1912 16.8731 21.5935 17.5939 21.9138L18 21L18.4061 20.0862C17.6447 19.7478 17.0387 19.4575 16.6079 19.0752C16.2297 18.7395 16 18.3453 16 17.7171H15Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconPackageSecurity;\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,EAAwE,EAAM,KAAK,CAAC,IAAU,CACzG,OAAO,gBAA+vC,EAA/vC,IAAqB,EAAO,UAAU,4BAA4B,OAAO,yDAAwD,gBAAC,OAAD,CAAM,EAAE,+lCAA+lC,KAAK,eAAc,CAAI,EACvwC,EAEc", "debugId": "FF02232EF497E2F564756E2164756E21", "names": [] }