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.45 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconMedal/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 IconMedal: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"medal, trophy, badge, winner, win\"><path d=\"M12 16C15.866 16 19 12.866 19 9C19 5.13401 15.866 2 12 2C8.13401 2 5 5.13401 5 9C5 12.866 8.13401 16 12 16ZM12 16C13.4872 16 14.8662 15.536 16 14.7451\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/><path d=\"M16 15.25V20.6318C16 21.3752 15.2177 21.8587 14.5528 21.5262L12.4472 20.4734C12.1657 20.3326 11.8343 20.3326 11.5528 20.4734L9.44721 21.5262C8.78231 21.8586 8 21.3752 8 20.6318V15.25\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconMedal;\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,EAA4C,CAAC,IAAU,CAClE,OAAO,gBAA0iB,EAA1iB,IAAqB,EAAO,UAAU,qCAAoC,gBAAC,OAAD,CAAM,EAAE,yJAAyJ,OAAO,eAAe,YAAY,IAAI,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,yLAAyL,OAAO,eAAe,YAAY,IAAI,eAAe,QAAO,CAAI,GAGpiB", "debugId": "A93B59D5D6179EA364756E2164756E21", "names": [] }