iranian-platenumber
v1.0.17
Published
A React component for displaying and entering information on license plates of Iranian cars
Downloads
162
Maintainers
Readme
Installing
Package manager
Using npm:
npm install iranian-platenumberUsing yarn:
yarn add iranian-platenumberOptions
| 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 |
