react-car-logo 0.2.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/README.md +46 -46
  2. package/dist/ReactCarLogo.d.ts +4 -0
  3. package/dist/allLogos.d.ts +1 -40
  4. package/dist/brands.d.ts +2 -0
  5. package/dist/index.d.ts +3 -41
  6. package/dist/index.esm.js +61 -641
  7. package/dist/index.js +60 -718
  8. package/dist/types.d.ts +15 -10
  9. package/package.json +1 -6
  10. package/src/ReactCarLogo.tsx +32 -0
  11. package/src/allLogos.ts +3 -43
  12. package/src/brands.ts +51 -0
  13. package/src/index.ts +3 -46
  14. package/src/types.ts +59 -10
  15. package/dist/logos/Abarth.d.ts +0 -5
  16. package/dist/logos/Abarth.js +0 -20
  17. package/dist/logos/AlfaRomeo.d.ts +0 -5
  18. package/dist/logos/AlfaRomeo.js +0 -20
  19. package/dist/logos/Alpine.d.ts +0 -5
  20. package/dist/logos/Alpine.js +0 -20
  21. package/dist/logos/Arash.d.ts +0 -5
  22. package/dist/logos/Arash.js +0 -20
  23. package/dist/logos/AstonMartin.d.ts +0 -5
  24. package/dist/logos/AstonMartin.js +0 -20
  25. package/dist/logos/Audi.d.ts +0 -5
  26. package/dist/logos/Audi.js +0 -20
  27. package/dist/logos/BMW.d.ts +0 -5
  28. package/dist/logos/BMW.js +0 -20
  29. package/dist/logos/Bentley.d.ts +0 -5
  30. package/dist/logos/Bentley.js +0 -20
  31. package/dist/logos/Brabus.d.ts +0 -5
  32. package/dist/logos/Brabus.js +0 -20
  33. package/dist/logos/Bugatti.d.ts +0 -5
  34. package/dist/logos/Bugatti.js +0 -20
  35. package/dist/logos/Chevrolet.d.ts +0 -5
  36. package/dist/logos/Chevrolet.js +0 -20
  37. package/dist/logos/DeTomaso.d.ts +0 -5
  38. package/dist/logos/DeTomaso.js +0 -20
  39. package/dist/logos/Dodge.d.ts +0 -5
  40. package/dist/logos/Dodge.js +0 -20
  41. package/dist/logos/Ferrari.d.ts +0 -5
  42. package/dist/logos/Ferrari.js +0 -20
  43. package/dist/logos/Ford.d.ts +0 -5
  44. package/dist/logos/Ford.js +0 -20
  45. package/dist/logos/Gumpert.d.ts +0 -5
  46. package/dist/logos/Gumpert.js +0 -20
  47. package/dist/logos/Hennessey.d.ts +0 -5
  48. package/dist/logos/Hennessey.js +0 -20
  49. package/dist/logos/Jaguar.d.ts +0 -5
  50. package/dist/logos/Jaguar.js +0 -20
  51. package/dist/logos/Koenigsegg.d.ts +0 -5
  52. package/dist/logos/Koenigsegg.js +0 -20
  53. package/dist/logos/Lamborghini.d.ts +0 -5
  54. package/dist/logos/Lamborghini.js +0 -20
  55. package/dist/logos/Lotus.d.ts +0 -5
  56. package/dist/logos/Lotus.js +0 -20
  57. package/dist/logos/Maserati.d.ts +0 -5
  58. package/dist/logos/Maserati.js +0 -20
  59. package/dist/logos/Maybach.d.ts +0 -5
  60. package/dist/logos/Maybach.js +0 -20
  61. package/dist/logos/McLaren.d.ts +0 -5
  62. package/dist/logos/McLaren.js +0 -20
  63. package/dist/logos/MercedesAMG.d.ts +0 -5
  64. package/dist/logos/MercedesAMG.js +0 -20
  65. package/dist/logos/Mosler.d.ts +0 -5
  66. package/dist/logos/Mosler.js +0 -20
  67. package/dist/logos/Pagani.d.ts +0 -5
  68. package/dist/logos/Pagani.js +0 -20
  69. package/dist/logos/Pininfarina.d.ts +0 -5
  70. package/dist/logos/Pininfarina.js +0 -20
  71. package/dist/logos/Polestar.d.ts +0 -5
  72. package/dist/logos/Polestar.js +0 -20
  73. package/dist/logos/Porsche.d.ts +0 -5
  74. package/dist/logos/Porsche.js +0 -20
  75. package/dist/logos/Radical.d.ts +0 -5
  76. package/dist/logos/Radical.js +0 -20
  77. package/dist/logos/Rimac.d.ts +0 -5
  78. package/dist/logos/Rimac.js +0 -20
  79. package/dist/logos/RollsRoyce.d.ts +0 -5
  80. package/dist/logos/RollsRoyce.js +0 -20
  81. package/dist/logos/SSC.d.ts +0 -5
  82. package/dist/logos/SSC.js +0 -20
  83. package/dist/logos/Saleen.d.ts +0 -5
  84. package/dist/logos/Saleen.js +0 -20
  85. package/dist/logos/Shelby.d.ts +0 -5
  86. package/dist/logos/Shelby.js +0 -20
  87. package/dist/logos/Spyker.d.ts +0 -5
  88. package/dist/logos/Spyker.js +0 -20
  89. package/dist/logos/TVR.d.ts +0 -5
  90. package/dist/logos/TVR.js +0 -20
  91. package/dist/logos/WMotors.d.ts +0 -5
  92. package/dist/logos/WMotors.js +0 -20
  93. package/dist/logos/Zenvo.d.ts +0 -5
  94. package/dist/logos/Zenvo.js +0 -20
  95. package/dist/types-B2mOhqdm.js +0 -44
  96. package/src/logos/Abarth.tsx +0 -39
  97. package/src/logos/AlfaRomeo.tsx +0 -39
  98. package/src/logos/Alpine.tsx +0 -39
  99. package/src/logos/Arash.tsx +0 -39
  100. package/src/logos/AstonMartin.tsx +0 -39
  101. package/src/logos/Audi.tsx +0 -39
  102. package/src/logos/BMW.tsx +0 -39
  103. package/src/logos/Bentley.tsx +0 -39
  104. package/src/logos/Brabus.tsx +0 -39
  105. package/src/logos/Bugatti.tsx +0 -39
  106. package/src/logos/Chevrolet.tsx +0 -39
  107. package/src/logos/DeTomaso.tsx +0 -39
  108. package/src/logos/Dodge.tsx +0 -39
  109. package/src/logos/Ferrari.tsx +0 -39
  110. package/src/logos/Ford.tsx +0 -39
  111. package/src/logos/Gumpert.tsx +0 -39
  112. package/src/logos/Hennessey.tsx +0 -39
  113. package/src/logos/Jaguar.tsx +0 -39
  114. package/src/logos/Koenigsegg.tsx +0 -39
  115. package/src/logos/Lamborghini.tsx +0 -39
  116. package/src/logos/Lotus.tsx +0 -39
  117. package/src/logos/Maserati.tsx +0 -39
  118. package/src/logos/Maybach.tsx +0 -39
  119. package/src/logos/McLaren.tsx +0 -39
  120. package/src/logos/MercedesAMG.tsx +0 -39
  121. package/src/logos/Mosler.tsx +0 -39
  122. package/src/logos/Pagani.tsx +0 -39
  123. package/src/logos/Pininfarina.tsx +0 -39
  124. package/src/logos/Polestar.tsx +0 -39
  125. package/src/logos/Porsche.tsx +0 -39
  126. package/src/logos/Radical.tsx +0 -39
  127. package/src/logos/Rimac.tsx +0 -39
  128. package/src/logos/RollsRoyce.tsx +0 -39
  129. package/src/logos/SSC.tsx +0 -39
  130. package/src/logos/Saleen.tsx +0 -39
  131. package/src/logos/Shelby.tsx +0 -39
  132. package/src/logos/Spyker.tsx +0 -39
  133. package/src/logos/TVR.tsx +0 -39
  134. package/src/logos/WMotors.tsx +0 -39
  135. package/src/logos/Zenvo.tsx +0 -39
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Radical",
6
- slug: "radical",
7
- pngUrl: "https://www.carlogos.org/logo/Radical-Sportscars-logo.png",
8
- country: "UK",
9
- region: "British",
10
- founded: 1997,
11
- hex: "CC0000",
12
- };
13
- const Radical = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Radical", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Radical-Sportscars-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Radical, Radical as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const Rimac: React.FC<CarLogoProps>;
5
- export default Rimac;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Rimac",
6
- slug: "rimac",
7
- pngUrl: "https://www.carlogos.org/logo/Rimac-logo.png",
8
- country: "Croatia",
9
- region: "Other",
10
- founded: 2009,
11
- hex: "0033A0",
12
- };
13
- const Rimac = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Rimac", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Rimac-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Rimac, Rimac as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const RollsRoyce: React.FC<CarLogoProps>;
5
- export default RollsRoyce;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Rolls-Royce",
6
- slug: "rolls-royce",
7
- pngUrl: "https://www.carlogos.org/logo/Rolls-Royce-logo.png",
8
- country: "UK",
9
- region: "British",
10
- founded: 1904,
11
- hex: "1A1A1A",
12
- };
13
- const RollsRoyce = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Rolls-Royce", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Rolls-Royce-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { RollsRoyce, RollsRoyce as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const SSC: React.FC<CarLogoProps>;
5
- export default SSC;
package/dist/logos/SSC.js DELETED
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "SSC",
6
- slug: "ssc",
7
- pngUrl: "https://www.carlogos.org/logo/SSC-logo.png",
8
- country: "USA",
9
- region: "American",
10
- founded: 1998,
11
- hex: "1A1A1A",
12
- };
13
- const SSC = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "SSC", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/SSC-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { SSC, SSC as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const Saleen: React.FC<CarLogoProps>;
5
- export default Saleen;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Saleen",
6
- slug: "saleen",
7
- pngUrl: "https://www.carlogos.org/logo/Saleen-logo.png",
8
- country: "USA",
9
- region: "American",
10
- founded: 1983,
11
- hex: "1A1A1A",
12
- };
13
- const Saleen = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Saleen", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Saleen-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Saleen, Saleen as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const Shelby: React.FC<CarLogoProps>;
5
- export default Shelby;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Shelby",
6
- slug: "shelby",
7
- pngUrl: "https://www.carlogos.org/logo/Shelby-logo.png",
8
- country: "USA",
9
- region: "American",
10
- founded: 1962,
11
- hex: "8B0000",
12
- };
13
- const Shelby = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Shelby", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Shelby-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Shelby, Shelby as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const Spyker: React.FC<CarLogoProps>;
5
- export default Spyker;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Spyker",
6
- slug: "spyker",
7
- pngUrl: "https://www.carlogos.org/logo/Spyker-logo.png",
8
- country: "Netherlands",
9
- region: "Other",
10
- founded: 1999,
11
- hex: "003087",
12
- };
13
- const Spyker = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Spyker", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Spyker-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Spyker, Spyker as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const TVR: React.FC<CarLogoProps>;
5
- export default TVR;
package/dist/logos/TVR.js DELETED
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "TVR",
6
- slug: "tvr",
7
- pngUrl: "https://www.carlogos.org/logo/TVR-logo.png",
8
- country: "UK",
9
- region: "British",
10
- founded: 1947,
11
- hex: "8B0000",
12
- };
13
- const TVR = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "TVR", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/TVR-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { TVR, TVR as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const WMotors: React.FC<CarLogoProps>;
5
- export default WMotors;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "W Motors",
6
- slug: "w-motors",
7
- pngUrl: "https://www.carlogos.org/logo/W-Motors-logo.png",
8
- country: "UAE",
9
- region: "Other",
10
- founded: 2012,
11
- hex: "1A1A1A",
12
- };
13
- const WMotors = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "W Motors", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/W-Motors-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { WMotors, WMotors as default, meta };
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- export declare const meta: CarLogoMeta;
4
- export declare const Zenvo: React.FC<CarLogoProps>;
5
- export default Zenvo;
@@ -1,20 +0,0 @@
1
- import { _ as __rest, S as SIZE_MAP } from '../types-B2mOhqdm.js';
2
- import React from 'react';
3
-
4
- const meta = {
5
- title: "Zenvo",
6
- slug: "zenvo",
7
- pngUrl: "https://www.carlogos.org/logo/Zenvo-logo.png",
8
- country: "Denmark",
9
- region: "Other",
10
- founded: 2004,
11
- hex: "1A1A1A",
12
- };
13
- const Zenvo = (_a) => {
14
- var _b;
15
- var { size = "md", width, height, alt = "Zenvo", loading = "lazy", style } = _a, props = __rest(_a, ["size", "width", "height", "alt", "loading", "style"]);
16
- const renderPx = (_b = width !== null && width !== void 0 ? width : height) !== null && _b !== void 0 ? _b : SIZE_MAP[size];
17
- return (React.createElement("img", Object.assign({ src: "https://www.carlogos.org/logo/Zenvo-logo.png", alt: alt, width: renderPx, height: renderPx, loading: loading, style: Object.assign({ objectFit: "contain" }, style) }, props)));
18
- };
19
-
20
- export { Zenvo, Zenvo as default, meta };
@@ -1,44 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
16
-
17
-
18
- function __rest(s, e) {
19
- var t = {};
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
21
- t[p] = s[p];
22
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
23
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
24
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
25
- t[p[i]] = s[p[i]];
26
- }
27
- return t;
28
- }
29
-
30
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
31
- var e = new Error(message);
32
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
33
- };
34
-
35
- /**
36
- * Pixel dimensions for each size tier.
37
- */
38
- const SIZE_MAP = {
39
- sm: 80, // Thumbnails, nav icons, table cells
40
- md: 160, // Cards, lists, sidebars (default)
41
- lg: 320, // Hero sections, detail views
42
- };
43
-
44
- export { SIZE_MAP as S, __rest as _ };
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Abarth",
7
- slug: "abarth",
8
- pngUrl: "https://www.carlogos.org/logo/Abarth-logo.png",
9
- country: "Italy",
10
- region: "Italian",
11
- founded: 1949,
12
- hex: "CC0000",
13
- };
14
-
15
- export const Abarth: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Abarth",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Abarth-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Abarth;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Alfa Romeo",
7
- slug: "alfa-romeo",
8
- pngUrl: "https://www.carlogos.org/logo/Alfa-Romeo-logo.png",
9
- country: "Italy",
10
- region: "Italian",
11
- founded: 1910,
12
- hex: "CC0000",
13
- };
14
-
15
- export const AlfaRomeo: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Alfa Romeo",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Alfa-Romeo-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default AlfaRomeo;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Alpine",
7
- slug: "alpine",
8
- pngUrl: "https://www.carlogos.org/logo/Alpine-logo.png",
9
- country: "France",
10
- region: "French",
11
- founded: 1955,
12
- hex: "003087",
13
- };
14
-
15
- export const Alpine: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Alpine",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Alpine-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Alpine;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Arash",
7
- slug: "arash",
8
- pngUrl: "https://www.carlogos.org/logo/Arash-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1999,
12
- hex: "1A1A1A",
13
- };
14
-
15
- export const Arash: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Arash",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Arash-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Arash;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Aston Martin",
7
- slug: "aston-martin",
8
- pngUrl: "https://www.carlogos.org/logo/Aston-Martin-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1913,
12
- hex: "004225",
13
- };
14
-
15
- export const AstonMartin: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Aston Martin",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Aston-Martin-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default AstonMartin;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Audi",
7
- slug: "audi",
8
- pngUrl: "https://www.carlogos.org/logo/Audi-logo.png",
9
- country: "Germany",
10
- region: "German",
11
- founded: 1909,
12
- hex: "1A1A1A",
13
- };
14
-
15
- export const Audi: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Audi",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Audi-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Audi;
package/src/logos/BMW.tsx DELETED
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "BMW",
7
- slug: "bmw",
8
- pngUrl: "https://www.carlogos.org/logo/BMW-logo.png",
9
- country: "Germany",
10
- region: "German",
11
- founded: 1916,
12
- hex: "0066B2",
13
- };
14
-
15
- export const BMW: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "BMW",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/BMW-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default BMW;
@@ -1,39 +0,0 @@
1
- import React from "react";
2
- import type { CarLogoProps, CarLogoMeta } from "../types";
3
- import { SIZE_MAP } from "../types";
4
-
5
- export const meta: CarLogoMeta = {
6
- title: "Bentley",
7
- slug: "bentley",
8
- pngUrl: "https://www.carlogos.org/logo/Bentley-logo.png",
9
- country: "UK",
10
- region: "British",
11
- founded: 1919,
12
- hex: "1A5276",
13
- };
14
-
15
- export const Bentley: React.FC<CarLogoProps> = ({
16
- size = "md",
17
- width,
18
- height,
19
- alt = "Bentley",
20
- loading = "lazy",
21
- style,
22
- ...props
23
- }) => {
24
- const renderPx = width ?? height ?? SIZE_MAP[size];
25
-
26
- return (
27
- <img
28
- src="https://www.carlogos.org/logo/Bentley-logo.png"
29
- alt={alt}
30
- width={renderPx}
31
- height={renderPx}
32
- loading={loading}
33
- style={{ objectFit: "contain", ...style }}
34
- {...props}
35
- />
36
- );
37
- };
38
-
39
- export default Bentley;