lion/packages/input-iban/src/formatters.js
Thomas Allmer ec8da8f12c feat: release inital public lion version
Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
2019-04-26 10:37:57 +02:00

11 lines
310 B
JavaScript

import { friendlyFormatIBAN } from '@bundled-es-modules/ibantools';
/**
* Takes an unformatted IBAN and returns a formatted one.
*
* @param {string} modelValue value to be formatted
* @return {string} formatted value
*/
export function formatIBAN(modelValue) {
return friendlyFormatIBAN(modelValue);
}