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.39 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconFormOctagon/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 IconFormOctagon: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"form-octagon\"><path d=\"M14.4853 3C15.2809 3 16.044 3.31607 16.6066 3.87868L20.1213 7.3934C20.6839 7.95601 21 8.71907 21 9.51472V14.4853C21 15.2809 20.6839 16.044 20.1213 16.6066L16.6066 20.1213C16.044 20.6839 15.2809 21 14.4853 21H9.51472C8.71907 21 7.95601 20.6839 7.3934 20.1213L3.87868 16.6066C3.31607 16.044 3 15.2809 3 14.4853L3 9.51472C3 8.71907 3.31607 7.95601 3.87868 7.3934L7.3934 3.87868C7.95601 3.31607 8.71907 3 9.51472 3L14.4853 3Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconFormOctagon;\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,gBAAqiB,EAAriB,IAAqB,EAAO,UAAU,gBAAe,gBAAC,OAAD,CAAM,EAAE,waAAwa,OAAO,eAAe,YAAY,IAAI,eAAe,QAAO,CAAI,GAG/hB", "debugId": "DFB7B92E7442792B64756E2164756E21", "names": [] }