@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.29 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconCmdBox/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 IconCmdBox: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"cmd-box, command, apple, key\" maskId=\"square-outlined-radius-0-stroke-2-IconCmdBox\"><path d=\"M20 4H21V3H20V4ZM20 20V21H21V20H20ZM4 20H3V21H4V20ZM4 4V3H3V4H4ZM19 4V20H21V4H19ZM20 19H4V21H20V19ZM5 20V4H3V20H5ZM4 5H20V3H4V5ZM11 10V8.5H9V10H11ZM8.5 11H10V9H8.5V11ZM15 10V8.5H13V10H15ZM15.5 9H14V11H15.5V9ZM10 11H14V9H10V11ZM14 13H10V15H14V13ZM11 14V10H9V14H11ZM13 10V14H15V10H13ZM15 15.5V14H13V15.5H15ZM11 15.5V14H9V15.5H11ZM10 13H8.5V15H10V13ZM14 15H15.5V13H14V15ZM8 15.5C8 15.2239 8.22386 15 8.5 15V13C7.11929 13 6 14.1193 6 15.5H8ZM18 15.5C18 14.1193 16.8807 13 15.5 13V15C15.7761 15 16 15.2239 16 15.5H18ZM13 15.5C13 16.8807 14.1193 18 15.5 18V16C15.2239 16 15 15.7761 15 15.5H13ZM16 8.5C16 8.77614 15.7761 9 15.5 9V11C16.8807 11 18 9.88071 18 8.5H16ZM15 8.5C15 8.22386 15.2239 8 15.5 8V6C14.1193 6 13 7.11929 13 8.5H15ZM8.5 18C9.88071 18 11 16.8807 11 15.5H9C9 15.7761 8.77614 16 8.5 16V18ZM6 8.5C6 9.88071 7.11929 11 8.5 11V9C8.22386 9 8 8.77614 8 8.5H6ZM8.5 16C8.22386 16 8 15.7761 8 15.5H6C6 16.8807 7.11929 18 8.5 18V16ZM8.5 6C7.11929 6 6 7.11929 6 8.5H8C8 8.22386 8.22386 8 8.5 8V6ZM15.5 8C15.7761 8 16 8.22386 16 8.5H18C18 7.11929 16.8807 6 15.5 6V8ZM16 15.5C16 15.7761 15.7761 16 15.5 16V18C16.8807 18 18 16.8807 18 15.5H16ZM11 8.5C11 7.11929 9.88071 6 8.5 6V8C8.77614 8 9 8.22386 9 8.5H11Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCmdBox;\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,EAA+D,EAAM,KAAK,CAAC,IAAU,CAChG,OAAO,gBAAk1C,EAAl1C,IAAqB,EAAO,UAAU,+BAA+B,OAAO,gDAA+C,gBAAC,OAAD,CAAM,EAAE,wrCAAwrC,KAAK,eAAc,CAAI,EAC11C,EAEc",
"debugId": "0F72DEDE38B5848864756E2164756E21",
"names": []
}