🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

iban-format

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iban-format

React component to format an iban (International Bank Account Number)

0.1.3
latest
Source
npm
Version published
Weekly downloads
4
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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

PropsOptionsDefaultDescription
ibanFormatstringrequiredhere we define the iban mask that we should follow. the first two letters reprsent the country code and they are irremovable.
placeholderstringempty stringthe placeholder
stylecss inline style objectempty objectyou 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

Keywords

react

FAQs

Package last updated on 24 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts