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.31 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconArrowLeftX/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 IconArrowLeftX: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"arrow-left-x, delete, remove, backspace\"><path d=\"M11.2484 10L15.25 14.0017M15.2517 10L11.25 14.0017M3.81421 10.0958L7.09992 6.09578C7.66976 5.40206 8.52034 5 9.4181 5H18C19.6569 5 21 6.34315 21 8V16C21 17.6569 19.6569 19 18 19H9.4181C8.52034 19 7.66976 18.5979 7.09992 17.9042L3.81421 13.9042C2.90511 12.7975 2.90511 11.2025 3.81421 10.0958Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/></CentralIconBase>;\n};\n\nexport default IconArrowLeftX;\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,EAAiD,CAAC,IAAU,CACvE,OAAO,gBAAqd,EAArd,IAAqB,EAAO,UAAU,2CAA0C,gBAAC,OAAD,CAAM,EAAE,uSAAuS,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,CAAI,GAG/c", "debugId": "3B4679478B8C76D364756E2164756E21", "names": [] }