UNPKG

@central-icons-react/round-outlined-radius-3-stroke-2

Version:

A collection of round outlined React icons with 3px radius and 2px stroke width, designed for use in React applications.

1 lines 3.02 kB
{"version":3,"sources":["../src/IconGamepad/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconGamepad: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"gamepad, gaming, joystick\">\n <path\n d=\"M8 10V12M8 12V14M8 12H10M8 12H6M8 6H16C19.3137 6 22 8.68629 22 12C22 15.3137 19.3137 18 16 18H8C4.68629 18 2 15.3137 2 12C2 8.68629 4.68629 6 8 6Z\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M13.875 13.5C13.875 13.9832 14.2668 14.375 14.75 14.375C15.2332 14.375 15.625 13.9832 15.625 13.5C15.625 13.0168 15.2332 12.625 14.75 12.625C14.2668 12.625 13.875 13.0168 13.875 13.5ZM16.875 10.5C16.875 10.9832 17.2668 11.375 17.75 11.375C18.2332 11.375 18.625 10.9832 18.625 10.5C18.625 10.0168 18.2332 9.625 17.75 9.625C17.2668 9.625 16.875 10.0168 16.875 10.5Z\"\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth=\"0.75\"\n strokeLinecap=\"square\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconGamepad;\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,EAA+CC,GAExDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,6BACpCC,EAAA,cAAC,QACC,EAAE,qJACF,OAAO,eACP,YAAY,IACZ,cAAc,QACd,eAAe,QACjB,EACAA,EAAA,cAAC,QACC,EAAE,8WACF,KAAK,eACL,OAAO,eACP,YAAY,OACZ,cAAc,SAChB,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconGamepad","props","React","CentralIconBase","IconGamepad_default"]}