Package Exports
- iban-format
- iban-format/dist/iban-format.esm.js
- iban-format/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (iban-format) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
iban-format
React component to format an iban (International Bank Account Number)
Usage
ES6
import IbanInput from 'iban-format';ES5
const IbanInput = require('iban-format');Props
| Props | Options | Default | Description |
|---|---|---|---|
| ibanFormat | string | required | here we define the iban mask that we should follow. the first two letters reprsent the country code and they are irremovable. |
| placeholder | string | empty string | the placeholder |
| style | css inline style object | empty object | you can use it to style the component container |
Example
import IbanInput from 'iban-format';
<IbanInput
ibanFormat="GBXX XXXX XXXX XXXX XXXX XX"
placeholder="iban input field"
/>;Notes
License
MIT