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.95 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconMetaAi/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 IconMetaAi: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"meta-ai\" maskId=\"square-outlined-radius-0-stroke-2-IconMetaAi\"><path d=\"M8.25176 15.4257C9.82868 15.4257 10.8618 17.628 10.8618 19.2865C10.8618 20.7003 10.1278 22.25 8.82272 22.25C7.30017 22.25 6.21264 20.1293 6.21264 18.3621C6.21264 16.9211 6.94672 15.4257 8.25176 15.4257Z\" fill=\"currentColor\"/><path d=\"M13.8797 16.2958C15.8373 16.2958 18.1483 18.0086 18.1483 19.7487C18.1483 20.8906 17.1423 21.5159 15.9732 21.5159C14.0429 21.5159 11.7591 19.8302 11.7591 18.0358C11.7591 16.8667 12.7378 16.2958 13.8797 16.2958Z\" fill=\"currentColor\"/><path d=\"M5.69606 10.8309C6.81078 10.8309 7.4633 11.565 7.4633 12.6525C7.4633 14.6101 5.39699 16.758 3.52099 16.758C2.43346 16.758 1.72656 16.0239 1.72656 14.9092C1.72656 13.006 3.79288 10.8309 5.69606 10.8309Z\" fill=\"currentColor\"/><path d=\"M19.9699 11.429C21.3565 11.429 22.2809 12.1631 22.2809 13.2779C22.2809 15.0723 19.834 16.4317 17.9852 16.4317C16.5714 16.4317 15.6742 15.616 15.6742 14.5557C15.6742 12.8156 18.0667 11.429 19.9699 11.429Z\" fill=\"currentColor\"/><path d=\"M18.1211 4.3057C19.3718 4.3057 20.0243 5.61074 20.0243 6.91578C20.0243 8.65584 18.8552 11.0212 17.1423 11.0212C15.8917 11.0212 15.212 9.77056 15.212 8.43833C15.212 6.6439 16.4354 4.3057 18.1211 4.3057Z\" fill=\"currentColor\"/><path d=\"M5.88638 5.28448C7.68081 5.28448 9.52961 6.26326 9.52961 7.70424C9.52961 9.06366 7.89831 9.85212 6.2942 9.85212C4.49977 9.85212 2.65097 8.87334 2.65097 7.45955C2.65097 6.15451 4.2007 5.28448 5.88638 5.28448Z\" fill=\"currentColor\"/><path d=\"M10.9162 1.75C12.7922 1.75 14.5866 4.0882 14.5866 6.01857C14.5866 7.13329 13.9885 7.94894 12.8738 7.94894C10.9978 7.94894 9.17616 5.61074 9.17616 3.70756C9.17616 2.62003 9.77431 1.75 10.9162 1.75Z\" fill=\"currentColor\"/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