UNPKG

@central-icons-react/square-filled-radius-0-stroke-1.5

Version:

A collection of square filled React icons with 0px radius and 1.5px stroke width, designed for use in React applications.

1 lines 2.71 kB
{"version":3,"sources":["../src/IconShoppingBagAdd2/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconShoppingBagAdd2: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"shopping-bag-add-2\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M7.9982 6C7.9982 3.79086 9.78906 2 11.9982 2C14.2073 2 15.9982 3.79086 15.9982 6V7H18.3953L19.4323 14H15.9982V17H12.9982V22H3.37891L5.60113 7H7.9982V6ZM14.4982 7V6C14.4982 4.61929 13.3789 3.5 11.9982 3.5C10.6175 3.5 9.4982 4.61929 9.4982 6V7H14.4982Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M21.9982 18.5H18.9982V15.5H17.4982V18.5H14.4982V20H17.4982V23H18.9982V20H21.9982V18.5Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconShoppingBagAdd2;\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,EAAuDC,GAEhEC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,sBACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,6PACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,yFACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconShoppingBagAdd2","props","React","CentralIconBase","IconShoppingBagAdd2_default"]}