@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.74 kB
Source Map (JSON)
{"version":3,"sources":["../src/IconMoonStar/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconMoonStar: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"moon-star, night\">\n <path\n d=\"M21.9903 11.5555C20.7715 12.758 19.0974 13.5001 17.25 13.5001C13.5221 13.5001 10.5 10.478 10.5 6.7501C10.5 4.90272 11.2421 3.22867 12.4446 2.00983C12.2972 2.00338 12.149 2.00012 12 2.00012C6.47715 2.00012 2 6.47727 2 12.0001C2 17.523 6.47715 22.0001 12 22.0001C17.5228 22.0001 22 17.523 22 12.0001C22 11.8511 21.9967 11.7029 21.9903 11.5555Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M17.5008 2.63196L16.2115 5.21065L13.6328 6.49999L16.2115 7.78934L17.5008 10.368L18.7902 7.78934L21.3689 6.49999L18.7902 5.21065L17.5008 2.63196Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconMoonStar;\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,EAAgDC,GAEzDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,oBACpCC,EAAA,cAAC,QACC,EAAE,wVACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,mJACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconMoonStar","props","React","CentralIconBase","IconMoonStar_default"]}