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.27 kB
{"version":3,"sources":["../src/IconUntrash/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconUntrash: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"untrash\">\n <path\n d=\"M6 21L5.00237 21.0688L5.06659 22H6V21ZM18 21V22H18.9334L18.9976 21.0688L18 21ZM19.9976 6.5688L20.0664 5.57117L18.0712 5.43357L18.0024 6.4312L19.9976 6.5688ZM6 21V22H18V21V20H6V21ZM18 21L18.9976 21.0688L19.9976 6.5688L19 6.5L18.0024 6.4312L17.0024 20.9312L18 21ZM5.03448 7L4.03685 7.0688L5.00237 21.0688L6 21L6.99763 20.9312L6.03212 6.9312L5.03448 7Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M3.89209 3.44727L20.6338 6.39928\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"square\"\n />\n <path\n d=\"M8.43777 3.99085C9.106 2.23139 10.949 1.13737 12.8709 1.47623C14.7927 1.8151 16.1504 3.47351 16.1765 5.35541\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"square\"\n />\n <path d=\"M12 17V11\" stroke=\"currentColor\" strokeWidth=\"2\" />\n <path d=\"M9 13L12 10L15 13\" stroke=\"currentColor\" strokeWidth=\"2\" />\n </CentralIconBase>\n );\n};\n\nexport default IconUntrash;\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,EAA+CC,GAExDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,WACpCC,EAAA,cAAC,QACC,EAAE,gWACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,mCACF,OAAO,eACP,YAAY,IACZ,cAAc,SAChB,EACAA,EAAA,cAAC,QACC,EAAE,+GACF,OAAO,eACP,YAAY,IACZ,cAAc,SAChB,EACAA,EAAA,cAAC,QAAK,EAAE,YAAY,OAAO,eAAe,YAAY,IAAI,EAC1DA,EAAA,cAAC,QAAK,EAAE,oBAAoB,OAAO,eAAe,YAAY,IAAI,CACpE,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconUntrash","props","React","CentralIconBase","IconUntrash_default"]}