@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.22 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconDices/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 IconDices: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"dices, random, roll\" maskId=\"square-outlined-radius-0-stroke-2-IconDices\"><path d=\"M1.51953 12.3235L9.6763 8.51992L13.4799 16.6767L5.3231 20.4803L1.51953 12.3235Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M15.4062 3.01392L21.9841 5.40806L19.59 11.9859L13.0121 9.59176L15.4062 3.01392Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M6.41045 13.3519C6.64386 13.8524 6.4273 14.4474 5.92676 14.6808C5.42622 14.9142 4.83124 14.6977 4.59784 14.1971C4.36443 13.6966 4.58099 13.1016 5.08153 12.8682C5.58207 12.6348 6.17705 12.8514 6.41045 13.3519Z\" fill=\"currentColor\"/><path d=\"M10.3987 14.8031C10.6321 15.3036 10.4156 15.8986 9.91504 16.132C9.4145 16.3654 8.81952 16.1488 8.58612 15.6483C8.35271 15.1478 8.56927 14.5528 9.06981 14.3194C9.57035 14.086 10.1653 14.3025 10.3987 14.8031Z\" fill=\"currentColor\"/><path d=\"M18.4391 7.84205C18.2503 8.36103 17.6764 8.62861 17.1574 8.43972C16.6385 8.25083 16.3709 7.67699 16.5598 7.15801C16.7487 6.63903 17.3225 6.37144 17.8415 6.56034C18.3605 6.74923 18.628 7.32307 18.4391 7.84205Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconDices;\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,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