0.3.15 • Published 4 months ago

iran-license-plate v0.3.15

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

Iran Lisence Plate

npm GitHub issues npm GitHub contributors GitHub license PRs Welcome GitHub Repo stars

Iran Lisence Plate is a React Component based on Typescript to display Iran car plaque appropriately depending on the serial number.

Features

  • ⚛ React Component.
  • ☑ Typescript.
  • 👌 Validating license serial.
  • 🎈 Include free city license plate.
  • 📐 Responsive and mobile friendly.
  • 🌈 Colorize plate.

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

npm i iran-license-plate

This package also depends on react. Please make sure you have it installed as well.

🚨Shortcut: you can see all options by visiting : storybook🚨

Usage

import IranLicensePlate from "iran-license-plate";
import "iran-license-plate/dist/License.css";

function App() {
    return (
        <div>
            <IranLicensePlate serial="IR15-546T55" />
        </div>
    );
}

Avalilible Params

propertytypedescription
isLoadingboolean/undefinedisshow loading indicator
isUnknownboolean/undefinedpreserve unknown situation
serialstringthe serial number of license plate for all options please visit : https://majidalinejad.github.io/Iran-License-Plate/

Contributors

This project follows the all contributors specification. Contributions of any kind welcome!

Documented with :

WIKI PAGE

for more information please visit wiki page

LICENSE

MIT

0.3.15

4 months ago

0.3.14

4 months ago

0.3.13

4 months ago

0.3.12

1 year ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.8

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.7

2 years ago

0.3.2

2 years ago

0.2.3

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.3.4

2 years ago

0.2.5

2 years ago

0.3.3

2 years ago

0.2.4

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago