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.1 kB
{"version":3,"sources":["../src/IconNintendoSwitch/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconNintendoSwitch: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"nintendo-switch\">\n <path\n d=\"M9 8.25C9 9.2165 8.2165 10 7.25 10C6.2835 10 5.5 9.2165 5.5 8.25C5.5 7.2835 6.2835 6.5 7.25 6.5C8.2165 6.5 9 7.2835 9 8.25Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M3 7.25C3 4.90279 4.90279 3 7.25 3H11.5V21H7.25C4.90279 21 3 19.0972 3 16.75V7.25ZM7.25 4.5C5.73122 4.5 4.5 5.73122 4.5 7.25V16.75C4.5 18.2688 5.73122 19.5 7.25 19.5H10V4.5H7.25Z\"\n fill=\"currentColor\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M16.75 3C19.0972 3 21 4.90279 21 7.25V16.75C21 19.0972 19.0972 21 16.75 21H12.5V3H16.75ZM18.5 13C18.5 13.9665 17.7165 14.75 16.75 14.75C15.7835 14.75 15 13.9665 15 13C15 12.0335 15.7835 11.25 16.75 11.25C17.7165 11.25 18.5 12.0335 18.5 13Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconNintendoSwitch;\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,EAAsDC,GAE/DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,mBACpCC,EAAA,cAAC,QACC,EAAE,8HACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,qLACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,kPACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconNintendoSwitch","props","React","CentralIconBase","IconNintendoSwitch_default"]}