@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.58 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconEmojiAddReaction/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 IconEmojiAddReaction: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"emoji-add-reaction, emoji-plus\" maskId=\"square-outlined-radius-0-stroke-2-IconEmojiAddReaction\"><path d=\"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M19 1V9M15 5H23\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M16.6899 14.0441C16.23 13.848 15.77 13.652 15.3101 13.4559C15.244 13.5852 15.1748 13.7042 15.0974 13.823C14.4185 14.8818 13.2281 15.481 12.0026 15.475C10.7771 15.4787 9.58606 14.8779 8.90296 13.8201C8.82512 13.7013 8.75544 13.5825 8.6888 13.4533C8.2296 13.6511 7.7704 13.8489 7.3112 14.0467C7.38106 14.2339 7.45801 14.4105 7.54965 14.59C8.343 16.2138 10.1772 17.299 12.001 17.275C13.8244 17.3031 15.6645 16.2173 16.4532 14.5887C16.5443 14.4087 16.6207 14.2317 16.6899 14.0441Z\" fill=\"currentColor\"/><path d=\"M10.75 9.9C10.75 11.0046 10.0784 11.75 9.25 11.75C8.42157 11.75 7.75 11.0046 7.75 9.9C7.75 8.79543 8.42157 8 9.25 8C10.0784 8 10.75 8.79543 10.75 9.9Z\" fill=\"currentColor\"/><path d=\"M16.25 9.9C16.25 11.0046 15.5784 11.75 14.75 11.75C13.9216 11.75 13.25 11.0046 13.25 9.9C13.25 8.79543 13.9216 8 14.75 8C15.5784 8 16.25 8.79543 16.25 9.9Z\" fill=\"currentColor\"/><path d=\"M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n});\n\nexport default IconEmojiAddReaction;\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,M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