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 3.2 kB
{"version":3,"sources":["../src/IconDonut/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconDonut: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"donut\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M12 2C11.2769 2 10.5711 2.07684 9.89071 2.22297L9.36536 2.33579L9.51565 2.85167C9.61109 3.1793 9.65278 3.58685 9.65278 4.06027C9.65278 4.52707 9.36035 5.01791 8.82821 5.43813C8.30244 5.85332 7.61678 6.13597 7.00563 6.20574L6.69402 6.24131L6.59041 6.53734C6.42002 7.02418 6.12713 7.48604 5.76938 7.81972C5.41093 8.15407 5.01834 8.33333 4.63791 8.33333C4.07724 8.33333 3.59797 8.30614 3.22512 8.20455L2.78439 8.08445L2.62507 8.51257C2.22074 9.59907 2 10.7743 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM6.92082 12.7764L5.72361 15.1708L4.82918 14.7236L6.02639 12.3292L6.92082 12.7764ZM13.5 5.04289L12.7929 5.75L15 7.95711L15.7071 7.25L13.5 5.04289ZM18.1616 10.2698L19.1481 12.7827L18.2173 13.1481L17.2308 10.6353L18.1616 10.2698ZM16.7071 16.5L16 15.7929L14.2929 17.5L15 18.2071L16.7071 16.5ZM8.29289 17L10 18.7071L10.7071 18L9 16.2929L8.29289 17ZM12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconDonut;\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,EAA6CC,GAEtDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,SACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,0+BACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconDonut","props","React","CentralIconBase","IconDonut_default"]}