Package Exports
- text-mask-addon-iban
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 (text-mask-addon-iban) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
install
npm i text-mask-addon-ibanexample (React)
// ibanMask.js
import createIBANMask from 'text-mask-addon-iban'
const country = 'GB' // Great Britain
export default createIBANMask(country)// IbanInput.js
import React from 'react'
import MaskedInput from 'react-text-mask'
import ibanMask from './ibanMask.js'
export default (props) => (
<MaskedInput mask={ibanMask} {...props} />
)