UNPKG

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

Version:

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

1 lines 2.96 kB
{"version":3,"sources":["../src/IconPokeball/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconPokeball: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"pokeball, catch\">\n <path\n d=\"M21.9719 12.75H15.7596C15.4109 14.508 13.8601 15.8333 11.9996 15.8333C10.1392 15.8333 8.58835 14.508 8.23965 12.75H2.02734C2.41085 17.9225 6.72907 22 11.9996 22C17.2702 22 21.5884 17.9225 21.9719 12.75Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M21.9719 11.25H15.7596C15.4109 9.49194 13.8601 8.16663 11.9996 8.16663C10.1392 8.16663 8.58835 9.49194 8.23965 11.25H2.02735C2.4109 6.07743 6.7291 2 11.9996 2C17.2702 2 21.5884 6.07743 21.9719 11.25Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M9.66631 12C9.66631 10.7113 10.711 9.66663 11.9996 9.66663C13.2883 9.66663 14.333 10.7113 14.333 12C14.333 13.2886 13.2883 14.3333 11.9996 14.3333C10.711 14.3333 9.66631 13.2886 9.66631 12Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconPokeball;\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,mBACpCC,EAAA,cAAC,QACC,EAAE,6MACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,0MACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,gMACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPokeball","props","React","CentralIconBase","IconPokeball_default"]}