UNPKG

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

Version:

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

1 lines 3.47 kB
{"version":3,"sources":["../src/IconGift2/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconGift2: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"gift-2, present\">\n <path\n d=\"M11.5 3H3V11.5H8.05051C7.40223 10.8647 7 9.97934 7 9C7 7.89543 7.89543 7 9 7C9.97935 7 10.8647 7.40223 11.5 8.05051V3Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M3 12.5V21H11.5V13.5411C10.4503 14.8613 9.241 15.9715 7.77113 16.9201L7.35103 17.1912L6.80876 16.351L7.22887 16.0799C8.75287 15.0963 9.97759 13.9287 11.0391 12.5H3Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M12.5 21H21V12.5H12.9609C14.0224 13.9287 15.2471 15.0963 16.7711 16.0799L17.1912 16.351L16.649 17.1912L16.2289 16.9201C14.759 15.9715 13.5497 14.8613 12.5 13.5411V21Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M21 11.5V3H12.5V8.05051C13.1353 7.40223 14.0207 7 15 7C16.1046 7 17 7.89543 17 9C17 9.97935 16.5978 10.8647 15.9495 11.5H21Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M9 8C10.3807 8 11.5 9.11929 11.5 10.5V11.5H10.5C9.11929 11.5 8 10.3807 8 9C8 8.44772 8.44772 8 9 8Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M12.5 10.5V11.5H13.5C14.8807 11.5 16 10.3807 16 9C16 8.44771 15.5523 8 15 8C13.6193 8 12.5 9.11929 12.5 10.5Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconGift2;\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,EAA6CC,GAEtDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,mBACpCC,EAAA,cAAC,QACC,EAAE,yHACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,uKACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,yKACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,+HACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,sGACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,gHACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconGift2","props","React","CentralIconBase","IconGift2_default"]}