UNPKG

@central-icons-react/round-outlined-radius-3-stroke-2

Version:

A collection of round outlined React icons with 3px radius and 2px stroke width, designed for use in React applications.

11 lines 2.33 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconFormHexagon/index.tsx"], "sourcesContent": [ "import React from \"react\";\nimport type { SVGProps } from \"react\";\n\nexport type CentralIconBaseProps = {\n size?: string | number;\n ariaHidden?: boolean;\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 ...props\n}) => {\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 {children}\n </svg>\n );\n};\n", "import React from \"react\";\nimport { CentralIconBase, type CentralIconBaseProps } from \"../CentralIconBase\";\n\nexport const IconFormHexagon: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"form-hexagon\"><path d=\"M10.5 3.36603C11.4282 2.83013 12.5718 2.83013 13.5 3.36603L18.7272 6.38397C19.6554 6.91987 20.2272 7.91025 20.2272 8.98205V15.0179C20.2272 16.0897 19.6554 17.0801 18.7272 17.616L13.5 20.634C12.5718 21.1699 11.4282 21.1699 10.5 20.634L5.27276 17.616C4.34456 17.0801 3.77276 16.0897 3.77276 15.0179V8.98205C3.77276 7.91025 4.34456 6.91987 5.27276 6.38397L10.5 3.36603Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconFormHexagon;\n" ], "mappings": "AAAA,qBAQO,IAAM,EAET,EACF,WACA,OAAO,GACP,YACA,QACA,aAAa,GACb,WACG,KACC,CACJ,OACE,gBAaE,MAbF,IACM,EACJ,cAAa,EACb,KAAM,EAAa,OAAY,MAC/B,MAAO,OAAO,IAAS,SAAW,GAAG,MAAW,EAChD,OAAQ,OAAO,IAAS,SAAW,GAAG,MAAW,EACjD,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAO,CAAE,WAAU,CAAM,GAExB,GAAa,CAAC,GAAc,gBAAoB,QAApB,KAAQ,CAAY,EAChD,CACD,GCjCN,qBAGO,IAAM,EAAkD,CAAC,IAAU,CACxE,OAAO,gBAA8e,EAA9e,IAAqB,EAAO,UAAU,gBAAe,gBAAC,OAAD,CAAM,EAAE,iXAAiX,OAAO,eAAe,YAAY,IAAI,eAAe,QAAO,CAAI,GAGxe", "debugId": "5FF09D77635AB8C264756E2164756E21", "names": [] }