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 3.03 kB
{"version":3,"sources":["../src/IconFileLink/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFileLink: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"file-link, hyperlink\">\n <path\n d=\"M4 2H12.5V9.5H20V22H9.00049C10.2147 21.0878 11 19.6356 11 18V15C11 12.2386 8.76142 10 6 10C5.2889 10 4.61246 10.1484 4 10.416V2Z\"\n fill=\"currentColor\"\n />\n <path d=\"M19.7071 8.5L13.5 2.29289V8.5H19.7071Z\" fill=\"currentColor\" />\n <path\n d=\"M3 15C3 13.3431 4.34315 12 6 12C7.65685 12 9 13.3431 9 15V16H10V15C10 12.9602 8.47316 11.277 6.5 11.0309V11H6C3.79086 11 2 12.7909 2 15V16H3V15Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M3 17V18C3 19.6569 4.34315 21 6 21C7.65685 21 9 19.6569 9 18V17H10V18C10 20.0398 8.47316 21.723 6.5 21.9691V22H6C3.79086 22 2 20.2091 2 18V17H3Z\"\n fill=\"currentColor\"\n />\n <path d=\"M6.5 18V15H5.5V18H6.5Z\" fill=\"currentColor\" />\n </CentralIconBase>\n );\n};\n\nexport default IconFileLink;\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,EAAgDC,GAEzDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,wBACpCC,EAAA,cAAC,QACC,EAAE,mIACF,KAAK,eACP,EACAA,EAAA,cAAC,QAAK,EAAE,yCAAyC,KAAK,eAAe,EACrEA,EAAA,cAAC,QACC,EAAE,mJACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,mJACF,KAAK,eACP,EACAA,EAAA,cAAC,QAAK,EAAE,yBAAyB,KAAK,eAAe,CACvD,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconFileLink","props","React","CentralIconBase","IconFileLink_default"]}