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.94 kB
{"version":3,"sources":["../src/IconSuperscript/index.tsx","../src/CentralIconBase/index.tsx"],"sourcesContent":["import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconSuperscript: React.FC<CentralIconBaseProps> = (props) => {\n return (\n <CentralIconBase {...props} ariaLabel=\"superscript\">\n <path\n d=\"M3 6L13 18M13 6L3 18\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"square\"\n />\n <path\n d=\"M17 11.0006H16V12.0006H17V11.0006ZM21 12.0006H22V10.0006H21V12.0006ZM17 12.0006H21V10.0006H17V12.0006ZM19.0052 5C19.5643 5 20 5.37369 20 6.04969H22C22 4.25551 20.6552 3 19.0052 3V5ZM20 6.04969C20 6.29665 19.9103 6.50062 19.6654 6.7473C19.3862 7.02844 18.9949 7.27757 18.4641 7.61445C17.5669 8.18394 16 9.11704 16 11.0006H18C18 10.3836 18.4331 10.003 19.5359 9.30304C20.0051 9.0052 20.6138 8.63068 21.0846 8.15642C21.5897 7.64769 22 6.96449 22 6.04969H20ZM18.0108 6.08062C18.0674 5.38017 18.4791 5 19.0052 5V3C17.164 3 16.134 4.47668 16.0173 5.91938L18.0108 6.08062Z\"\n fill=\"currentColor\"\n />\n </CentralIconBase>\n );\n};\n\nexport default IconSuperscript;\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,EAAmDC,GAE5DC,EAAA,cAACC,EAAA,CAAiB,GAAGF,EAAO,UAAU,eACpCC,EAAA,cAAC,QACC,EAAE,uBACF,OAAO,eACP,YAAY,IACZ,cAAc,SAChB,EACAA,EAAA,cAAC,QACC,EAAE,wjBACF,KAAK,eACP,CACF,EAIGE,EAAQJ","names":["React","React","CentralIconBase","children","size","ariaLabel","color","ariaHidden","style","props","IconSuperscript","props","React","CentralIconBase","IconSuperscript_default"]}