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.

1 lines 2.91 kB
{"version":3,"sources":["../src/IconEyeSparkle/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconEyeSparkle: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"eye-sparkle, magic eyes\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3.13478 12.0001C5.41293 16.0877 8.77137 18 11.9999 18C15.2284 18 18.5868 16.0876 20.865 11.9999C18.5868 7.91226 15.2284 5.99998 11.9999 6C8.77138 6.00002 5.41294 7.91236 3.13478 12.0001ZM11.9999 4C16.239 3.99997 20.3385 6.61119 22.8881 11.5405L23.1257 11.9999L22.8881 12.4594C20.3385 17.3887 16.239 20 11.9999 20C7.76072 20 3.66123 17.3888 1.11164 12.4595L0.874023 12.0001L1.11164 11.5406C3.66123 6.6113 7.76071 4.00003 11.9999 4Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M10.6665 10.6667L11.9999 8L13.3332 10.6667L15.9999 12L13.3332 13.3333L11.9999 16L10.6665 13.3333L7.99987 12L10.6665 10.6667Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconEyeSparkle;\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,EAAkDC,GAE3DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,2BACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,kbACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,+HACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconEyeSparkle","props","React","CentralIconBase","IconEyeSparkle_default"]}