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.52 kB
{"version":3,"sources":["../src/IconStrikeThrough/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconStrikeThrough: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"strike-through\">\n <path\n d=\"M7.09904 3.80414C8.15796 2.72993 9.77312 2 12.0012 2C14.33 2 15.8641 2.80022 16.8446 3.83886C17.8034 4.85454 18.1708 6.03163 18.3116 6.7083L18.4645 7.44257L16.9959 7.74819L16.8431 7.01392C16.7332 6.48565 16.4511 5.60719 15.7538 4.86854C15.0782 4.15286 13.9496 3.5 12.0012 3.5C10.1182 3.5 8.90699 4.10678 8.16729 4.85716C7.41431 5.62102 7.09844 6.58456 7.09844 7.375C7.09844 8.02232 7.24823 8.51073 7.48541 8.89925C7.72569 9.29284 8.0812 9.62538 8.55131 9.9179C9.50024 10.5083 10.7892 10.8659 12.228 11.25H22V12.75H2V11.25H7.85479C7.82256 11.2307 7.79058 11.2112 7.75886 11.1915C7.14498 10.8095 6.59717 10.323 6.20512 9.68083C5.80998 9.03354 5.59844 8.26935 5.59844 7.375C5.59844 6.21385 6.05341 4.86489 7.09904 3.80414Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M15.959 14.25H18.0111C18.0257 14.2729 18.0401 14.2959 18.0543 14.3192C18.4494 14.9665 18.6609 15.7307 18.6609 16.625C18.6609 19.0289 16.4874 22 12.0012 22C9.67331 22 8.07585 21.2017 7.0091 20.1907C5.96002 19.1964 5.4686 18.0399 5.2538 17.367L5.02572 16.6525L6.45468 16.1963L6.68275 16.9108C6.8526 17.4429 7.23904 18.3419 8.04095 19.1019C8.82521 19.8452 10.0519 20.5 12.0012 20.5C15.7373 20.5 17.1609 18.1243 17.1609 16.625C17.1609 15.9777 17.0112 15.4893 16.774 15.1007C16.5785 14.7805 16.3067 14.5007 15.959 14.25Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconStrikeThrough;\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,EAAqDC,GAE9DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,kBACpCC,EAAA,cAAC,QACC,EAAE,ktBACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,sgBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconStrikeThrough","props","React","CentralIconBase","IconStrikeThrough_default"]}