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 3.44 kB
{"version":3,"sources":["../src/IconWindowCursor/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconWindowCursor: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"window-cursor, visit page, open app\">\n <g clip-path=\"url(#clip0_5564_3011)\">\n <path\n d=\"M21.25 12.25V4.75H2.75V20.25H12.25M22 17.1538L15 15L17.1538 22L18.7692 18.7692L22 17.1538Z\"\n stroke=\"currentColor\"\n strokeWidth=\"1.5\"\n strokeLinecap=\"square\"\n />\n <path\n d=\"M5.75 8.5C5.75 8.91421 6.08579 9.25 6.5 9.25C6.91421 9.25 7.25 8.91421 7.25 8.5C7.25 8.08579 6.91421 7.75 6.5 7.75C6.08579 7.75 5.75 8.08579 5.75 8.5ZM9.25 8.5C9.25 8.91421 9.58579 9.25 10 9.25C10.4142 9.25 10.75 8.91421 10.75 8.5C10.75 8.08579 10.4142 7.75 10 7.75C9.58579 7.75 9.25 8.08579 9.25 8.5ZM12.75 8.5C12.75 8.91421 13.0858 9.25 13.5 9.25C13.9142 9.25 14.25 8.91421 14.25 8.5C14.25 8.08579 13.9142 7.75 13.5 7.75C13.0858 7.75 12.75 8.08579 12.75 8.5Z\"\n fill=\"currentColor\"\n stroke=\"currentColor\"\n strokeWidth=\"0.5\"\n strokeLinecap=\"square\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_5564_3011\">\n <rect width=\"24\" height=\"24\" fill=\"white\" />\n </clipPath>\n </defs>\n </CentralIconBase>\n );\n};\n\nexport default IconWindowCursor;\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,EAAoDC,GAE7DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,uCACpCC,EAAA,cAAC,KAAE,YAAU,yBACXA,EAAA,cAAC,QACC,EAAE,6FACF,OAAO,eACP,YAAY,MACZ,cAAc,SAChB,EACAA,EAAA,cAAC,QACC,EAAE,+cACF,KAAK,eACL,OAAO,eACP,YAAY,MACZ,cAAc,SAChB,CACF,EACAA,EAAA,cAAC,YACCA,EAAA,cAAC,YAAS,GAAG,mBACXA,EAAA,cAAC,QAAK,MAAM,KAAK,OAAO,KAAK,KAAK,QAAQ,CAC5C,CACF,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconWindowCursor","props","React","CentralIconBase","IconWindowCursor_default"]}