iranian-platenumber
v1.1.6
Published
### A React package for displaying and entering information on license plates of Iranian cars
Downloads
79
Maintainers
Readme
Iranian Platenumber
A React package for displaying and entering information on license plates of Iranian cars
Installing
Using npm:
npm install iranian-platenumber
Using yarn:
yarn add iranian-platenumber
Options
| Param | Type | Default | Description | Example |
| ---------- | -------- | ------- | ----------------------------------------------------------- | ------- |
| twoDigit | String | | The first two numbers on the left side of the platenumber | `11` |
| letter | String |
| The letter of the platenumber | ب
|
| threeDigit | String | | The first three numbers on the left side of the platenumber | `111` |
| cityDigit | String |
| The last two numbers on the left side of the platenumber | 11
|
| readOnly | Boolean | false
| For a time that is not allowed to change | false
|
| size | SizeType | md
| Overall size of the component | md
|
| colorize | Boolean | true
| Activation of color plate number | true
|
SizeType
type size = "sm" | "md" | "lg" | "xl"
| key | component size | font size | | --- | -------------- | --------- | | sm | 10px | 150px | | md | 13px | 200px | | lg | 17px | 250px | | xl | 22px | 350px |