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 2.86 kB
{"version":3,"sources":["../src/IconPassword/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconPassword: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"password, lock, protection\">\n <path\n d=\"M20 4H21V3H20V4ZM20 20V21H21V20H20ZM4 20H3V21H4V20ZM4 4V3H3V4H4ZM17 9V8H15V9H17ZM15 15V16H17V15H15ZM19 4V20H21V4H19ZM20 19H4V21H20V19ZM5 20V4H3V20H5ZM4 5H20V3H4V5ZM15 9V15H17V9H15Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M8 12.875C8.48325 12.875 8.875 12.4832 8.875 12C8.875 11.5168 8.48325 11.125 8 11.125C7.51675 11.125 7.125 11.5168 7.125 12C7.125 12.4832 7.51675 12.875 8 12.875ZM12 12.875C12.4832 12.875 12.875 12.4832 12.875 12C12.875 11.5168 12.4832 11.125 12 11.125C11.5168 11.125 11.125 11.5168 11.125 12C11.125 12.4832 11.5168 12.875 12 12.875Z\"\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth=\"0.75\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconPassword;\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,8BACpCC,EAAA,cAAC,QACC,EAAE,uLACF,KAAK,eACP,EACAA,EAAA,cAAC,QACC,EAAE,gVACF,KAAK,eACL,OAAO,eACP,YAAY,OACd,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconPassword","props","React","CentralIconBase","IconPassword_default"]}