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.65 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconFileText/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 IconFileText: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"file-text, document\"><path d=\"M12.1716 3H8C6.34315 3 5 4.34315 5 6V18C5 19.6569 6.34315 21 8 21H16C17.6569 21 19 19.6569 19 18V9.82843C19 9.29799 18.7893 8.78929 18.4142 8.41421L13.5858 3.58579C13.2107 3.21071 12.702 3 12.1716 3Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M13 3.5V7C13 8.10457 13.8954 9 15 9H18.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M9 13H12\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/><path d=\"M9 17H15.5\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/></CentralIconBase>;\n};\n\nexport default IconFileText;\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,EAA+C,CAAC,IAAU,CACrE,OAAO,gBAA+lB,EAA/lB,IAAqB,EAAO,UAAU,uBAAsB,gBAAC,OAAD,CAAM,EAAE,0MAA0M,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,2CAA2C,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,aAAa,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,CAAI,GAGzlB", "debugId": "92976E476B128B3E64756E2164756E21", "names": [] }