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 2.9 kB
{"version":3,"sources":["../src/IconPillow/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconPillow: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"pillow, sleep, snooze\">\n <path\n d=\"M4.61111 3C3.16595 3 2 4.17835 2 5.625C2 6.34821 2.29138 7.00379 2.76218 7.47852C2.3787 8.82606 2 10.5245 2 12C2 13.4755 2.3787 15.1739 2.76218 16.5215C2.29138 16.9962 2 17.6518 2 18.375C2 19.8217 3.16595 21 4.61111 21C5.36955 21 6.05157 20.6747 6.52764 20.1578C8.11199 20.5693 10.1955 21 12 21C13.8045 21 15.8881 20.5693 17.4724 20.1577C17.9485 20.6747 18.6305 21 19.3889 21C20.8341 21 22.0001 19.8217 22.0001 18.375C22.0001 17.6518 21.7087 16.9962 21.2378 16.5214C21.6213 15.1739 22 13.4755 22 12C22 10.5245 21.6213 8.82606 21.2378 7.47852C21.7086 7.00379 22 6.34821 22 5.625C22 4.17835 20.8341 3 19.3889 3C18.6276 3 17.9433 3.32775 17.467 3.84803C15.8707 3.43495 13.7743 3 12 3C10.2257 3 8.12934 3.43495 6.53296 3.84803C6.05665 3.32775 5.37238 3 4.61111 3Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconPillow;\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,EAA8CC,GAEvDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,yBACpCC,EAAA,cAAC,QACC,EAAE,0vBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPillow","props","React","CentralIconBase","IconPillow_default"]}