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.65 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconMarker/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 IconMarker: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"marker,highlight\"><path d=\"M14.912 3.60604L6.70803 9.91679C5.27264 11.0209 5.13532 13.1355 6.41584 14.416L9.58388 17.584C10.8644 18.8645 12.9789 18.7272 14.0831 17.2918L20.3938 9.08785C21.3126 7.89348 21.2028 6.20292 20.1373 5.1374L18.8625 3.86259C17.7969 2.79708 16.1064 2.68729 14.912 3.60604Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M5.49958 13C5.07473 14.6994 3.92787 16.7598 2.6725 18.261C2.31821 18.6847 2.31616 19.3166 2.70669 19.7071L4.29247 21.2929C4.683 21.6834 5.3149 21.6814 5.73856 21.3271C7.23975 20.0717 9.30016 18.9249 10.9996 18.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconMarker;\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,EAA6C,CAAC,IAAU,CACnE,OAAO,gBAAwtB,EAAxtB,IAAqB,EAAO,UAAU,oBAAmB,gBAAC,OAAD,CAAM,EAAE,+QAA+Q,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,sNAAsN,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,GAGltB", "debugId": "9C09D9ED2148DF8D64756E2164756E21", "names": [] }