@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.55 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconPets/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 IconPets: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"pets, paw, animal\" maskId=\"square-outlined-radius-0-stroke-2-IconPets\"><path d=\"M14 20.0427C13 19.1384 11 19.1384 10.131 20.0427C9.21064 20.8314 8.10982 21.4812 6.98623 20.5183C3.78034 17.771 9.17473 11 12 11C14.8253 11 20.2197 17.771 17.0138 20.5183C15.8902 21.4812 14.9203 20.8314 14 20.0427Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M10.497 5.56645C10.5487 6.94666 9.92033 8.0358 9.09355 7.9991C8.26676 7.9624 7.55463 6.81377 7.50297 5.43355C7.45131 4.05334 8.07967 2.9642 8.90645 3.0009C9.73324 3.0376 10.4454 4.18623 10.497 5.56645Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M13.503 5.56645C13.4513 6.94666 14.0797 8.0358 14.9065 7.9991C15.7332 7.9624 16.4454 6.81377 16.497 5.43355C16.5487 4.05334 15.9203 2.9642 15.0935 3.0009C14.2668 3.0376 13.5546 4.18623 13.503 5.56645Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M5.93546 9.0198C6.1751 10.2558 5.72668 11.3609 4.9339 11.488C4.14112 11.6152 3.30418 10.7162 3.06454 9.4802C2.8249 8.24417 3.27332 7.13912 4.0661 7.01198C4.85888 6.88485 5.69582 7.78378 5.93546 9.0198Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M20.9355 9.4802C20.6958 10.7162 19.8589 11.6152 19.0661 11.488C18.2733 11.3609 17.8249 10.2558 18.0645 9.0198C18.3042 7.78378 19.1411 6.88485 19.9339 7.01198C20.7267 7.13912 21.1751 8.24417 20.9355 9.4802Z\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n});\n\nexport default IconPets;\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,IA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