@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.75 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconCloudSync2/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 IconCloudSync2: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"cloud-sync-2\" maskId=\"square-outlined-radius-0-stroke-2-IconCloudSync2\"><path d=\"M8.44434 15.4442C8.44434 13.4805 10.0362 11.8887 11.9999 11.8887M15.5554 15.4442C15.5554 17.4079 13.9636 18.9998 11.9999 18.9998\" stroke=\"currentColor\" strokeWidth=\"1.9\"/><path d=\"M12 14.5V9.5L15 12L12 14.5Z\" fill=\"currentColor\"/><path d=\"M12 16.5V21.5L9 19L12 16.5Z\" fill=\"currentColor\"/><path d=\"M7 18C4.23858 18 2 15.7614 2 13C2 10.4673 3.88316 8.37436 6.32568 8.04508C7.13649 5.69118 9.37075 4 12 4C15.3137 4 18 6.68629 18 10C20.2091 10 22 11.7909 22 14C22 16.2091 20.2091 18 18 18\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n});\n\nexport default IconCloudSync2;\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,EAAmE,EAAM,KAAK,CAAC,IAAU,CACpG,OAAO,gBAAwoB,EAAxoB,IAAqB,EAAO,UAAU,eAAe,OAAO,oDAAmD,gBAAC,OAAD,CAAM,EAAE,mIAAmI,OAAO,eAAe,YAAY,MAAK,EAAE,gBAAC,OAAD,CAAM,EAAE,8BAA8B,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,8BAA8B,KAAK,eAAc,EAAE,gBAAC,OAAD,CAAM,EAAE,8LAA8L,OAAO,eAAe,YAAY,IAAG,CAAI,EAChpB,EAEc",
"debugId": "DD98FAB2606F8FC364756E2164756E21",
"names": []
}