react-input-card
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

React Input Card

use this package to masking your credit card input

Usage:

import InputCard from "react-input-card"

const App: React.FC = () => {
  const [value, setValue] = useState('')
  
  return (
    <InputCard onChange={(event) => setValue(event.target.value)} />
  )
}

Package Sidebar

Install

npm i react-input-card

Weekly Downloads

12

Version

1.0.13

License

MIT

Unpacked Size

3.29 kB

Total Files

6

Last publish

Collaborators

  • ghofurgiovany