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.6 kB
{"version":3,"sources":["../src/IconOculus/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconOculus: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"oculus\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M1.96392 8.53134C2.87346 6.46698 4.9131 5 7.32536 5H16.6748C19.087 5 21.1267 6.46698 22.0362 8.53134L22.7409 7.81438L23.8107 8.86583L22.5013 10.198C22.7737 12.0599 22.4698 14.134 21.578 15.8036C20.6103 17.6152 18.9117 19 16.5042 19H7.49599C5.08841 19 3.38982 17.6152 2.42212 15.8036C1.53031 14.134 1.22641 12.0599 1.49882 10.198L0.189453 8.86583L1.25924 7.81438L1.96392 8.53134ZM10 8V9.5H14V8H10Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconOculus;\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,EAA8CC,GAEvDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,UACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,+YACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconOculus","props","React","CentralIconBase","IconOculus_default"]}