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.79 kB
{"version":3,"sources":["../src/IconDrop/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconDrop: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"drop, water, precipitation, liquid\">\n <path\n d=\"M12.3061 2.10459L12 1.86768L11.6939 2.10459L11.6918 2.10623L11.687 2.10999L11.6694 2.1238C11.6541 2.13579 11.632 2.15329 11.6035 2.17613C11.5463 2.22181 11.4635 2.28888 11.3585 2.37591C11.1487 2.54993 10.8504 2.80399 10.493 3.12672C9.77895 3.77158 8.82577 4.69372 7.87114 5.80215C5.98342 7.994 4 11.0165 4 14.1111C4 18.475 7.58878 22 12 22C16.4112 22 20 18.475 20 14.1111C20 11.0165 18.0166 7.994 16.1289 5.80215C15.1742 4.69372 14.221 3.77158 13.507 3.12672C13.1496 2.80399 12.8513 2.54993 12.6415 2.37591C12.5365 2.28888 12.4537 2.22181 12.3965 2.17613C12.368 2.15329 12.3459 2.13579 12.3306 2.1238L12.313 2.10999L12.3082 2.10623L12.3061 2.10459Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconDrop;\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,EAA4CC,GAErDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,sCACpCC,EAAA,cAAC,QACC,EAAE,2oBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconDrop","props","React","CentralIconBase","IconDrop_default"]}