UNPKG

@central-icons-react/square-filled-radius-0-stroke-1

Version:

A collection of square filled React icons with 0px radius and 1px stroke width, designed for use in React applications.

1 lines 2.81 kB
{"version":3,"sources":["../src/IconApiConnection/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconApiConnection: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"api-connection\">\n <path\n d=\"M4 12C4 7.58172 7.58172 4 12 4C15.4236 4 18.346 6.15074 19.4876 9.1765L19.6641 9.64431L20.5998 9.29131L20.4233 8.8235C19.1396 5.42121 15.8532 3 12 3C7.19722 3 3.2731 6.76201 3.01365 11.5H1V12.5H3.01365C3.2731 17.238 7.19722 21 12 21C15.8532 21 19.1396 18.5788 20.4233 15.1765L20.5998 14.7087L19.6641 14.3557L19.4876 14.8235C18.346 17.8493 15.4236 20 12 20C7.58172 20 4 16.4183 4 12Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M12 7C9.23858 7 7 9.23858 7 12C7 14.7614 9.23858 17 12 17C14.5927 17 16.7245 15.0267 16.9753 12.5H23V11.5H16.9753C16.7245 8.97334 14.5927 7 12 7Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconApiConnection;\n","import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\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 ...props\n}) => {\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 {children}\n </svg>\n );\n};\n"],"mappings":"AAAA,OAAOA,MAAW,QCAlB,OAAOC,MAAW,QAQX,IAAMC,EAET,CAAC,CACH,SAAAC,EACA,KAAAC,EAAO,GACP,UAAAC,EACA,MAAAC,EACA,WAAAC,EAAa,GACb,MAAAC,EACA,GAAGC,CACL,IAEIR,EAAA,cAAC,OACE,GAAGQ,EACJ,cAAaF,EACb,KAAMA,EAAa,OAAY,MAC/B,MAAO,OAAOH,GAAS,SAAW,GAAGA,CAAI,KAAOA,EAChD,OAAQ,OAAOA,GAAS,SAAW,GAAGA,CAAI,KAAOA,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,MAAAE,EAAO,GAAGE,CAAM,GAExBH,GAAa,CAACE,GAAcN,EAAA,cAAC,aAAOI,CAAU,EAC9CF,CACH,ED9BG,IAAMO,EAAqDC,GAE9DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,kBACpCC,EAAA,cAAC,QACC,EAAE,iYACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,oJACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconApiConnection","props","React","CentralIconBase","IconApiConnection_default"]}