@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 • 5.77 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconBaseball/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 IconBaseball: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"baseball\" maskId=\"square-outlined-radius-0-stroke-2-IconBaseball\"><path d=\"M6.46434 7.28238C6.68457 7.58342 6.88419 7.9003 7.06118 8.23095L8.82446 7.28709C8.60309 6.87355 8.35358 6.47751 8.07851 6.10151L6.46434 7.28238Z\" fill=\"currentColor\"/><path d=\"M15.9272 6.10151C15.6521 6.47751 15.4026 6.87355 15.1812 7.28709L16.9445 8.23095C17.1215 7.9003 17.3211 7.58342 17.5414 7.28238L15.9272 6.10151Z\" fill=\"currentColor\"/><path d=\"M7.51895 9.25306C7.64617 9.60101 7.7499 9.96029 7.82822 10.329L9.78457 9.91349C9.68653 9.45189 9.55664 9.002 9.39733 8.56627L7.51895 9.25306Z\" fill=\"currentColor\"/><path d=\"M14.6084 8.56627C14.4491 9.002 14.3192 9.45189 14.2211 9.91349L16.1775 10.329C16.2558 9.96029 16.3595 9.60101 16.4868 9.25306L14.6084 8.56627Z\" fill=\"currentColor\"/><path d=\"M7.98349 11.4388C7.99632 11.6242 8.00285 11.8114 8.00285 12.0003C8.00285 12.1893 7.99632 12.3765 7.98349 12.5618L9.97872 12.6999C9.99473 12.4687 10.0029 12.2354 10.0029 12.0003C10.0029 11.7653 9.99473 11.532 9.97872 11.3007L7.98349 11.4388Z\" fill=\"currentColor\"/><path d=\"M14.027 11.3007C14.011 11.532 14.0029 11.7653 14.0029 12.0003C14.0029 12.2354 14.011 12.4687 14.027 12.6999L16.0222 12.5618C16.0094 12.3765 16.0029 12.1893 16.0029 12.0003C16.0029 11.8114 16.0094 11.6242 16.0222 11.4388L14.027 11.3007Z\" fill=\"currentColor\"/><path d=\"M7.82822 13.6716C7.7499 14.0404 7.64617 14.3996 7.51895 14.7476L9.39733 15.4344C9.55665 14.9987 9.68653 14.5488 9.78457 14.0872L7.82822 13.6716Z\" fill=\"currentColor\"/><path d=\"M14.2211 14.0872C14.3192 14.5488 14.4491 14.9987 14.6084 15.4344L16.4868 14.7476C16.3595 14.3996 16.2558 14.0404 16.1775 13.6716L14.2211 14.0872Z\" fill=\"currentColor\"/><path d=\"M7.06119 15.7697C6.88419 16.1004 6.68457 16.4172 6.46434 16.7183L8.07851 17.8991C8.35358 17.5232 8.60309 17.1271 8.82446 16.7136L7.06119 15.7697Z\" fill=\"currentColor\"/><path d=\"M15.1812 16.7136C15.4026 17.1271 15.6521 17.5232 15.9272 17.8991L17.5414 16.7183C17.3211 16.4172 17.1215 16.1004 16.9445 15.7697L15.1812 16.7136Z\" fill=\"currentColor\"/><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconBaseball;\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,CAC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