0.3.11 • Published 8 months ago

iran-license-plate v0.3.11

Weekly downloads
-
License
MIT
Repository
github
Last release
8 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.11

8 months ago

0.3.10

8 months ago

0.3.8

8 months ago

0.3.0

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.3.6

9 months ago

0.3.5

9 months ago

0.3.7

9 months ago

0.3.2

9 months ago

0.2.3

9 months ago

0.3.1

9 months ago

0.2.2

9 months ago

0.3.4

9 months ago

0.2.5

9 months ago

0.3.3

9 months ago

0.2.4

9 months ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.14

1 year ago

0.1.15

1 year ago

0.1.16

1 year ago

0.1.17

1 year ago

0.1.18

1 year ago

0.1.11

1 year ago

0.1.10

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago