@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.
11 lines • 4.09 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconCameraOff1/index.tsx"],
"sourcesContent": [
"import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\n mode?: \"masked\" | \"raw\";\n maskId?: string;\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 mode = \"masked\",\n maskId,\n ...props\n}) => {\n const masked = mode !== \"raw\" && !!maskId;\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 {masked ? (\n <>\n <mask\n id={maskId}\n maskUnits=\"userSpaceOnUse\"\n x=\"0\"\n y=\"0\"\n width=\"24\"\n height=\"24\"\n >\n <rect width=\"24\" height=\"24\" fill=\"#000\" />\n <g fill=\"none\" style={{ color: \"#fff\" }}>\n {children}\n </g>\n </mask>\n <rect\n width=\"24\"\n height=\"24\"\n fill=\"currentColor\"\n mask={`url(#${maskId})`}\n />\n </>\n ) : (\n children\n )}\n </svg>\n );\n};\n",
"import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconCameraOff1: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"camera-off-1, cam-off\" maskId=\"square-outlined-radius-0-stroke-2-IconCameraOff1\"><path d=\"M3 7V6H2V7H3ZM3 20H2V21H3V20ZM21 7H22V6H21V7ZM16.5 7L15.6679 7.5547L15.9648 8H16.5V7ZM14.5 4L15.3321 3.4453L15.0352 3H14.5V4ZM9.5 3H8.5V5H9.5V3ZM20 15V16H22V15H20ZM3.70711 2.29289L3 1.58579L1.58579 3L2.29289 3.70711L3.70711 2.29289ZM20.2929 21.7071L21 22.4142L22.4142 21L21.7071 20.2929L20.2929 21.7071ZM10.6669 11.509L11.412 10.8421L10.0782 9.35187L9.33309 10.0188L10.6669 11.509ZM14.9813 15.6669L15.6482 14.9218L14.1579 13.588L13.491 14.3331L14.9813 15.6669ZM7 6H3V8H7V6ZM2 7V20H4V7H2ZM3 21H20V19H3V21ZM21 6H16.5V8H21V6ZM17.3321 6.4453L15.3321 3.4453L13.6679 4.5547L15.6679 7.5547L17.3321 6.4453ZM14.5 3H9.5V5H14.5V3ZM22 15V7H20V15H22ZM12 15C10.8954 15 10 14.1046 10 13H8C8 15.2092 9.79086 17 12 17V15ZM10 13C10 12.4078 10.2562 11.8767 10.6669 11.509L9.33309 10.0188C8.51635 10.7498 8 11.8153 8 13H10ZM13.491 14.3331C13.1233 14.7439 12.5922 15 12 15V17C13.1848 17 14.2503 16.4837 14.9813 15.6669L13.491 14.3331ZM2.29289 3.70711L20.2929 21.7071L21.7071 20.2929L3.70711 2.29289L2.29289 3.70711Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCameraOff1;\n"
],
"mappings": "AAAA,qBAUO,IAAM,EAET,EACF,WACA,OAAO,GACP,YACA,QACA,aAAa,GACb,QACA,OAAO,SACP,YACG,KACC,CACJ,IAAM,EAAS,IAAS,OAAS,CAAC,CAAC,EACnC,OACE,gBAqCE,MArCF,IACM,EACJ,cAAa,EACb,KAAM,EAAa,OAAY,MAC/B,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAa,CAAC,GAAc,gBAAoB,QAApB,KAAQ,CAAY,EAChD,EACC,gCACE,gBAYE,OAZF,CACE,GAAI,EACJ,UAAU,iBACV,EAAE,IACF,EAAE,IACF,MAAM,KACN,OAAO,MAEP,gBAAC,OAAD,CAAM,MAAM,KAAK,OAAO,KAAK,KAAK,OAAO,EACzC,gBAEE,IAFF,CAAG,KAAK,OAAO,MAAO,CAAE,MAAO,MAAO,GACnC,CACD,CACF,EACF,gBAAC,OAAD,CACE,MAAM,KACN,OAAO,KACP,KAAK,eACL,KAAM,QAAQ,KAChB,CACA,EAEF,CAEF,GC9DN,qBAGO,IAAM,EAAmE,EAAM,KAAK,CAAC,IAAU,CACpG,OAAO,gBAA4nC,EAA5nC,IAAqB,EAAO,UAAU,wBAAwB,OAAO,oDAAmD,gBAAC,OAAD,CAAM,EAAE,q+BAAq+B,KAAK,eAAc,CAAI,EACpoC,EAEc",
"debugId": "542E962851ED3BE664756E2164756E21",
"names": []
}