@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 • 2.83 kB
Source Map (JSON)
{"version":3,"sources":["../src/IconColorSwatch/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconColorSwatch: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"color-swatch, palette, colours\">\n <path\n d=\"M7.4 16.5H7.6M11.3958 18.7499L16.6458 9.65667C17.4742 8.22179 16.9826 6.38702 15.5477 5.55859L13.3245 4.27504C12.8173 3.98221 12.1894 3.99558 11.6951 4.30975M11.0001 19.6742L18.8414 15.147C20.2763 14.3186 20.7679 12.4838 19.9395 11.0489L18.5187 8.58816C18.3086 8.22421 17.9203 8 17.5 8M12 16.5V6C12 4.34315 10.6569 3 9 3H6C4.34315 3 3 4.34315 3 6V16.5C3 18.9853 5.01472 21 7.5 21C9.98528 21 12 18.9853 12 16.5ZM8 16.5C8 16.7761 7.77614 17 7.5 17C7.22386 17 7 16.7761 7 16.5C7 16.2239 7.22386 16 7.5 16C7.77614 16 8 16.2239 8 16.5Z\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconColorSwatch;\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,EAAmDC,GAE5DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,kCACpCC,EAAA,cAAC,QACC,EAAE,qhBACF,OAAO,eACP,YAAY,IACZ,cAAc,QACd,eAAe,QACjB,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconColorSwatch","props","React","CentralIconBase","IconColorSwatch_default"]}