1.2.1 โ€ข Published 4 months ago

react-kbo-logos v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

react-kbo-logos

Read this in other languages: ํ•œ๊ตญ์–ด

npm version npm downloads License: MIT GitHub stars hits

A React component library providing logos for KBO League teams.

Installation

npm install react-kbo-logos

Usage

import {
  KIA,
  DOOSAN,
  LG,
  SSG,
  KIWOOM,
  KT,
  NC,
  SAMSUNG,
  LOTTE,
  HANWHA,
} from "react-kbo-logos"

function App() {
  return (
    <div>
      <KIA size={100} />
      <DOOSAN size={80} />
      <LG size={60} />
      {/* Other team logos can be used in the same way */}
    </div>
  )
}

๐Ÿ‘‡ Check out the demo in the website below gwanghun.im

Available Components

  • <DOOSAN /> - Doosan Bears
  • <LG /> - LG Twins
  • <KIA /> - KIA Tigers
  • <SSG /> - SSG Landers
  • <KIWOOM /> - Kiwoom Heroes
  • <KT /> - KT Wiz
  • <NC /> - NC Dinos
  • <SAMSUNG /> - Samsung Lions
  • <LOTTE /> - Lotte Giants
  • <HANWHA /> - Hanwha Eagles

Props

Each logo component accepts the following props:

  • size?: number - Size of the logo (in pixels, default: 40)
  • className?: string - CSS class for additional styling

Requirements

  • React >= 16.8.0
  • React DOM >= 16.8.0

Development

To start development:

# Install dependencies
npm install

# Start development server
npm run dev

To build the package:

npm run build

Browser Support

This package uses SVG for the logos, which is supported by all modern browsers.

Contributing

Contributions are always welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Keywords

  • react
  • kbo
  • logo
  • baseball
  • korean baseball
  • svg

Repository

GitHub Repository

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.2.1

4 months ago

1.2.0

4 months ago

1.1.12

4 months ago

1.1.11

4 months ago

1.1.4

5 months ago

1.1.1

5 months ago

1.1.0

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago