# react-mlb-logos

> React components for MLB team logos

Latest version **1.1.2** (published 2021-06-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-mlb-logos
pnpm add react-mlb-logos
yarn add react-mlb-logos
bun add react-mlb-logos
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2021-06-06 |
| First published | 2020-02-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 347 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Christopher Katsaras |
| Maintainers | chriskatsaras |
| Keywords | mlb |

## Links

- npm: https://www.npmjs.com/package/react-mlb-logos
- Repository: https://github.com/ChrisKatsaras/react-mlb-logos
- Homepage: https://github.com/ChrisKatsaras/react-mlb-logos#readme
- Issues: https://github.com/ChrisKatsaras/react-mlb-logos/issues
- npm.io page: https://npm.io/package/react-mlb-logos

## Dependencies (1)

- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2

## Recent versions

- 1.1.2 (latest) — 2021-06-06
- 1.1.1 — 2020-12-17
- 1.0.1 — 2020-03-25
- 1.0.0 — 2020-02-21

## README

# React MLB Logos

![npm](https://img.shields.io/npm/v/react-mlb-logos)

> React components for MLB team logos

![image](https://user-images.githubusercontent.com/11506653/74988213-3d6abc00-540b-11ea-9a5e-328b15059f46.png)

## Install

```shell
$ npm install react-mlb-logos
```

## Usage

```js
import React from 'react';
import { TOR } from 'react-mlb-logos';

const Example = () => {
  return <TOR />; // Loads the Toronto Blue Jays logo
};

export default Example;
```

or include all icons

```js
import React from 'react';
import * as MLBIcons from 'react-mlb-logos';

const Example = () => {
  return <MLBIcons.TOR />; // Loads the Toronto Blue Jays logo
};

export default Example;
```

## Configuration

Size can be easily configured (Default of 100px)

```js
import React from 'react';
import { TOR } from 'react-mlb-logos';

const Example = () => {
  return (
    <div>
      <TOR size={60} />
      <TOR /> // Default of 100px
      <TOR size={140} />
    </div>
  );
};

export default Example;
```

Results in

<img width="324" alt="Screen Shot 2019-07-11 at 5 50 31 PM" src="https://user-images.githubusercontent.com/11506653/74988355-a4887080-540b-11ea-8109-0327cb8ec55c.png">

---
_Source: https://npm.io/package/react-mlb-logos · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
