@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 • 5.19 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/CentralIconBase/index.tsx", "src/IconRobotHeadSlop/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 IconRobotHeadSlop: React.NamedExoticComponent<CentralIconBaseProps> = React.memo((props) => {\n return <CentralIconBase {...props} ariaLabel=\"robot-head-slop\" maskId=\"square-outlined-radius-0-stroke-2-IconRobotHeadSlop\"><path d=\"M14 16H15.5C17.7091 16 19.5 14.2091 19.5 12V4H4.5V12C4.5 14.2091 6.29086 16 8.5 16H10\" stroke=\"currentColor\" strokeWidth=\"2\"/><circle cx=\"9.25\" cy=\"8.25\" r=\"1.5\" fill=\"currentColor\"/><circle cx=\"14.75\" cy=\"8.25\" r=\"1.5\" fill=\"currentColor\"/><path d=\"M12 4V2.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"square\" strokeLinejoin=\"round\"/><path d=\"M4.5 7H3.5V9H4.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M19.5 7H20.5V9H19.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M9.25 12.5C11.1469 11.8333 12.8531 11.8333 14.75 12.5\" stroke=\"currentColor\" strokeWidth=\"1.6\" strokeLinecap=\"square\" strokeLinejoin=\"round\"/><path d=\"M4.95003 19.7851C4.65188 20.212 3.05646 19.912 2.54004 19.6656C2.02362 19.4191 1.84668 18.8733 2.14484 18.4464C2.44299 18.0195 3.10334 17.8733 3.61976 18.1197C4.13619 18.3662 5.24819 19.3583 4.95003 19.7851Z\" fill=\"currentColor\"/><path d=\"M19.05 19.7851C19.3481 20.212 20.9435 19.912 21.46 19.6656C21.9764 19.4191 22.1533 18.8733 21.8552 18.4464C21.557 18.0195 20.8967 17.8733 20.3802 18.1197C19.8638 18.3662 18.7518 19.3583 19.05 19.7851Z\" fill=\"currentColor\"/><path d=\"M13.4998 12.5L14.344 17.9205C14.3673 18.1063 14.511 18.2535 14.6952 18.2875C16.104 18.5482 17.039 19.0076 17.039 19.5302C17.039 20.3419 14.7829 21 11.9997 21C9.21662 21 6.96045 20.3419 6.96045 19.5302C6.96045 19.0077 7.89516 18.5482 9.30359 18.2875C9.48768 18.2535 9.63144 18.1063 9.65467 17.9206L10.4998 12.5\" stroke=\"currentColor\" strokeWidth=\"1.9\"/></CentralIconBase>;\n});\n\nexport default IconR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