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.63 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconFloppyDisk2/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 IconFloppyDisk2: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"floppy-disk-2, save\"><path d=\"M4 7C4 5.34315 5.34315 4 7 4H15.7574C16.553 4 17.3161 4.31607 17.8787 4.87868L19.1213 6.12132C19.6839 6.68393 20 7.44699 20 8.24264V17C20 18.6569 18.6569 20 17 20H7C5.34315 20 4 18.6569 4 17V7Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"square\"/><path d=\"M15 14C15 15.6569 13.6569 17 12 17C10.3431 17 9 15.6569 9 14C9 12.3431 10.3431 11 12 11C13.6569 11 15 12.3431 15 14Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"square\"/><path d=\"M9 4V7C9 7.55228 9.44772 8 10 8H14C14.5523 8 15 7.55228 15 7V4\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/></CentralIconBase>;\n};\n\nexport default IconFloppyDisk2;\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,gBAA2oB,EAA3oB,IAAqB,EAAO,UAAU,uBAAsB,gBAAC,OAAD,CAAM,EAAE,oMAAoM,OAAO,eAAe,YAAY,IAAI,cAAc,SAAQ,EAAE,gBAAC,OAAD,CAAM,EAAE,uHAAuH,OAAO,eAAe,YAAY,IAAI,cAAc,SAAQ,EAAE,gBAAC,OAAD,CAAM,EAAE,iEAAiE,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,CAAI,GAGroB", "debugId": "DF90C1D98F1E619664756E2164756E21", "names": [] }