UNPKG

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

Version:

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

1 lines 3.39 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.03761 3.83592C8.12542 2.73239 9.76971 2 11.9998 2C14.3342 2 15.8999 2.80514 16.9088 3.87391C17.8888 4.91204 18.2617 6.11113 18.4042 6.79625L18.608 7.77528L16.6499 8.18277L16.4462 7.20375C16.3448 6.71649 16.0858 5.91558 15.4544 5.24681C14.852 4.60867 13.827 4 11.9998 4C10.2298 4 9.12413 4.56819 8.46193 5.23995C7.78204 5.92967 7.49977 6.79772 7.49977 7.5C7.49977 8.08532 7.63439 8.51083 7.8367 8.84223C8.04313 9.18039 8.35439 9.47621 8.78589 9.74469C9.66188 10.2898 10.8614 10.6274 12.2559 11H22V13H2V11H7.10988C6.73423 10.6902 6.39777 10.3235 6.12964 9.88433C5.71672 9.20792 5.49977 8.41468 5.49977 7.5C5.49977 6.30344 5.96751 4.92149 7.03761 3.83592Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M16.3066 15H18.5253C18.6735 15.4579 18.7498 15.9576 18.7498 16.5C18.7498 19.0019 16.4999 22 11.9998 22C9.66656 22 8.04547 21.1974 6.95666 20.1654C5.89139 19.1558 5.39434 17.9842 5.17724 17.3041L4.87314 16.3515L6.77842 15.7433L7.08252 16.6959C7.23967 17.1882 7.59675 18.0166 8.33246 18.7138C9.04462 19.3888 10.1714 20 11.9998 20C15.4997 20 16.7498 17.7958 16.7498 16.5C16.7498 15.9147 16.6152 15.4892 16.4128 15.1578C16.3801 15.1041 16.3447 15.0516 16.3066 15Z\"\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,kpBACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,8cACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconStrikeThrough","props","React","CentralIconBase","IconStrikeThrough_default"]}