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.38 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconAddToBasket2/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 IconAddToBasket2: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"add-to-basket-2\"><path d=\"M19.8031 9H17.5013M19.8031 9C20.427 9 20.8986 9.56504 20.787 10.1789L20.4558 12M19.8031 9H20.0013M17.5013 9H6.50129M17.5013 9L15.5013 4M6.50129 9H4.19951M6.50129 9L8.50129 4M4.19951 9C3.5756 9 3.10403 9.56505 3.21564 10.1789L4.55341 17.5367C4.81277 18.9631 6.05516 20 7.50502 20H10.0013M4.19951 9H4.00129M17.0013 15V18M17.0013 18V21M17.0013 18H14.0013M17.0013 18H20.0013\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconAddToBasket2;\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,EAAmD,CAAC,IAAU,CACzE,OAAO,gBAA2gB,EAA3gB,IAAqB,EAAO,UAAU,mBAAkB,gBAAC,OAAD,CAAM,EAAE,qXAAqX,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,GAGrgB", "debugId": "BE1571FC1D55BD3264756E2164756E21", "names": [] }