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.66 kB
{"version":3,"sources":["../src/IconBirthdayCake/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconBirthdayCake: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"birthday-cake\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M11.9984 0.757324L14.1197 2.87864C15.2913 4.05022 15.2913 5.94971 14.1197 7.12129C13.727 7.51404 13.2517 7.7752 12.75 7.90462V8.99996H20.5V15.1952L20 15.4679V22H4V15.4679L3.5 15.1952V8.99996H11.25V7.90545C10.7471 7.77632 10.2707 7.51489 9.87707 7.12129C8.70549 5.94971 8.70549 4.05022 9.87707 2.87864L11.9984 0.757324ZM19 14.3047V10.5H5V14.3047L6.98225 15.386L9.5 13.8753L12 15.3753L14.5 13.8753L17.0177 15.386L19 14.3047Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconBirthdayCake;\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,EAAoDC,GAE7DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,iBACpCC,EAAA,cAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,yaACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconBirthdayCake","props","React","CentralIconBase","IconBirthdayCake_default"]}