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 2.88 kB
{"version":3,"sources":["../src/IconAlt/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconAlt: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"alt\">\n <path\n d=\"M21.25 4.75H2.75V19.25H21.25V4.75Z\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"square\"\n />\n <path\n d=\"M4.44531 14.9998L6.4624 9.01074H8.32593L10.343 14.9998H8.74512L8.37158 13.6841H6.41675L6.04321 14.9998H4.44531ZM7.37964 10.314L6.73218 12.5884H8.05615L7.40869 10.314H7.37964Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M10.9199 14.9998V9.01074H12.4431V13.7754H14.9209V14.9998H10.9199Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M16.3113 14.9998V10.2351H14.6594V9.01074H19.4822V10.2351H17.8303V14.9998H16.3113Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconAlt;\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,EAA2CC,GAEpDC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,OACpCC,EAAA,cAAC,QACC,EAAE,qCACF,OAAO,eACP,YAAY,MACZ,cAAc,SAChB,EACAA,EAAA,cAAC,QACC,EAAE,iLACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,oEACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,oFACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconAlt","props","React","CentralIconBase","IconAlt_default"]}