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.

11 lines 4.48 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconCloseQuote1/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 IconCloseQuote1: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"close-quote-1, blockquote\" maskId=\"square-outlined-radius-0-stroke-2-IconCloseQuote1\"><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M6.49631 7C5.11863 7 4 8.11829 4 9.5C4 10.8817 5.11863 12 6.49631 12C7.874 12 8.99263 10.8817 8.99263 9.5C8.99263 8.11829 7.874 7 6.49631 7Z\" fill=\"currentColor\"/><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M2 9.5C2 7.01571 4.01208 5 6.49631 5C8.9714 5 10.9778 7.00088 10.9925 9.47256C11.2154 13.8468 9.01182 16.5235 5.553 18.8318L4.72122 19.3869L3.61101 17.7233L4.44279 17.1682C5.86999 16.2157 7.40005 15.1909 8.24373 13.6476C7.7066 13.8745 7.11615 14 6.49631 14C4.01208 14 2 11.9843 2 9.5Z\" fill=\"currentColor\"/><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M17.4885 7C16.1108 7 14.9922 8.11829 14.9922 9.5C14.9922 10.8817 16.1108 12 17.4885 12C18.8662 12 19.9848 10.8817 19.9848 9.5C19.9848 8.11829 18.8662 7 17.4885 7Z\" fill=\"currentColor\"/><path fillRule=\"evenodd\" clipRule=\"evenodd\" d=\"M12.9922 9.5C12.9922 7.01571 15.0043 5 17.4885 5C19.9636 5 21.97 7.00088 21.9847 9.47256C22.2076 13.8468 20.004 16.5235 16.5452 18.8318L15.7134 19.3869L14.6032 17.7233L15.435 17.1682C16.8622 16.2157 18.3922 15.1909 19.2359 13.6476C18.6988 13.8745 18.1083 14 17.4885 14C15.0043 14 12.9922 11.9843 12.9922 9.5Z\" fill=\"currentColor\"/></CentralIconBase>;\n});\n\nexport default IconCloseQuote1;\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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