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 3.24 kB
{ "version": 3, "sources": ["src/CentralIconBase/index.tsx", "src/IconBus/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 IconBus: React.FC<CentralIconBaseProps> = (props) => {\n return <CentralIconBase {...props} ariaLabel=\"bus, school-bus\"><path d=\"M7 20H5C4.44772 20 4 19.5523 4 19V7C4 5.34315 5.34315 4 7 4H17C18.6569 4 20 5.34315 20 7V19C20 19.5523 19.5523 20 19 20H17C16.4477 20 16 19.5523 16 19V18H8V19C8 19.5523 7.55228 20 7 20Z\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M4 12H20\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M7 15H8\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M16 15H17\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M2 8L4 8\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M20 8L22 8\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\" strokeLinejoin=\"round\"/><path d=\"M10 6.5H14\" stroke=\"currentColor\" strokeWidth=\"2\" strokeLinecap=\"round\"/></CentralIconBase>;\n};\n\nexport default IconBus;\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,EAA0C,CAAC,IAAU,CAChE,OAAO,gBAAy6B,EAAz6B,IAAqB,EAAO,UAAU,mBAAkB,gBAAC,OAAD,CAAM,EAAE,4LAA4L,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,UAAU,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,YAAY,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,WAAW,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,aAAa,OAAO,eAAe,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAO,EAAE,gBAAC,OAAD,CAAM,EAAE,aAAa,OAAO,eAAe,YAAY,IAAI,cAAc,QAAO,CAAI,GAGn6B", "debugId": "8065A42664D739DB64756E2164756E21", "names": [] }