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.

11 lines 2.42 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconAtom/index.tsx"], "sourcesContent": [ "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", "import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAtom: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"atom\"><path d=\"M19.4739 4.52612C21.0463 6.09858 18.9749 10.7195 14.8472 14.8472C10.7195 18.9749 6.09858 21.0463 4.52612 19.4739C2.95366 17.9014 5.0251 13.2805 9.15281 9.15281C13.2805 5.0251 17.9014 2.95366 19.4739 4.52612Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M19.4739 19.4739C17.9014 21.0463 13.2805 18.9749 9.15281 14.8472C5.0251 10.7195 2.95366 6.09858 4.52612 4.52612C6.09858 2.95366 10.7195 5.0251 14.8472 9.15281C18.9749 13.2805 21.0463 17.9014 19.4739 19.4739Z\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n};\n\nexport default IconAtom;\n" ], "mappings": "AAAA,qBAQO,IAAM,EAET,EACF,WACA,OAAO,GACP,YACA,QACA,aAAa,GACb,WACG,KACC,CACJ,OACE,gBAaE,MAbF,IACM,EACJ,cAAa,EACb,KAAM,EAAa,OAAY,MAC/B,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAa,CAAC,GAAc,gBAAoB,QAApB,KAAQ,CAAY,EAChD,CACD,GCjCN,qBAGO,IAAM,EAA2C,CAAC,IAAU,CACjE,OAAO,gBAAijB,EAAjjB,IAAqB,EAAO,UAAU,QAAO,gBAAC,OAAD,CAAM,EAAE,kNAAkN,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,kNAAkN,OAAO,eAAe,YAAY,IAAG,CAAI,GAG3iB", "debugId": "752B397AB4CB777164756E2164756E21", "names": [] }