UNPKG

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

Version:

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

1 lines 3.04 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=\"M6.49501 4.63731C6.12382 4.10107 5.50555 3.75 4.80556 3.75C3.6703 3.75 2.75 4.67341 2.75 5.8125C2.75 6.48112 3.06709 7.07543 3.55861 7.4523C3.16102 8.79055 2.75 10.5296 2.75 12C2.75 13.4704 3.16102 15.2094 3.55861 16.5477C3.06709 16.9246 2.75 17.5189 2.75 18.1875C2.75 19.3266 3.6703 20.25 4.80556 20.25C5.50311 20.25 6.11951 19.9014 6.49113 19.3683C8.05487 19.7875 10.1902 20.25 12 20.25C13.8098 20.25 15.9452 19.7875 17.5089 19.3683C17.8805 19.9014 18.4969 20.25 19.1945 20.25C20.3297 20.25 21.25 19.3266 21.25 18.1875C21.25 17.5189 20.9329 16.9245 20.4414 16.5477C20.839 15.2094 21.25 13.4704 21.25 12C21.25 10.5296 20.839 8.79056 20.4414 7.4523C20.9329 7.07543 21.25 6.48112 21.25 5.8125C21.25 4.67341 20.3297 3.75 19.1944 3.75C18.4945 3.75 17.8762 4.10107 17.505 4.63731C15.9276 4.21663 13.7773 3.75 12 3.75C10.2227 3.75 8.07242 4.21663 6.49501 4.63731Z\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\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,61BACF,OAAO,eACP,YAAY,MACd,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPillow","props","React","CentralIconBase","IconPillow_default"]}