1.0.3 • Published 8 months ago
@samplesleo/input-cpf v1.0.3
How to install
npm i --save @samplesleo/input-cpfHow to use
import { mount } from '@samplesleo/input-cpf'
const root = document.getElementById('root')
mount(root, {
id: 'txtInput',
name: 'txtInput',
label: 'CPF',
value: '01234567890',
onChange: (cpf) => {
console.log('Validate: ', cpf)
}
}
)