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.49 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconTrashRounded/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 IconTrashRounded: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"trash-rounded, delete, remove\"><path d=\"M20 5.75C20 7.13071 16.4183 8.25 12 8.25C7.58172 8.25 4 7.13071 4 5.75C4 4.36929 7.58172 3.25 12 3.25C16.4183 3.25 20 4.36929 20 5.75Z\" stroke=\"currentColor\" strokeWidth=\"2\"/><path d=\"M4 5.75L5.20702 14.8026C5.40902 16.3177 5.51003 17.0752 5.77047 17.6928C6.3669 19.1072 7.57993 20.1692 9.0607 20.5735C9.70731 20.75 10.4715 20.75 12 20.75C13.5285 20.75 14.2927 20.75 14.9393 20.5735C16.4201 20.1692 17.6331 19.1072 18.2295 17.6928C18.49 17.0752 18.591 16.3177 18.793 14.8026L20 5.75\" stroke=\"currentColor\" strokeWidth=\"2\"/></CentralIconBase>;\n};\n\nexport default IconTrashRounded;\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,EAAmD,CAAC,IAAU,CACzE,OAAO,gBAA4lB,EAA5lB,IAAqB,EAAO,UAAU,iCAAgC,gBAAC,OAAD,CAAM,EAAE,yIAAyI,OAAO,eAAe,YAAY,IAAG,EAAE,gBAAC,OAAD,CAAM,EAAE,6SAA6S,OAAO,eAAe,YAAY,IAAG,CAAI,GAGtlB", "debugId": "E454C8DFFFE65FF464756E2164756E21", "names": [] }