Skip to content

A masked input component for React Native using pure javascript.

Notifications You must be signed in to change notification settings

fbonesso/react-native-masked-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-masked-input NPM version

Install

npm install react-native-masked-input@latest --save

Usage

All you need is to require the react-native-masked-input module and then use the <MaskedInput /> tag.

import MaskedInput from 'react-native-masked-input';

<MaskedInput maskType="money" currencySymbol="$" currencySeparator="," />

Props

Prop Type Description Values
maskType String Type of masked input. ['phone', 'money']
currencySymbol String Currency symbol when money. ['$', 'R$', '€', '£']
currencySeparator String Currency separator ['.', ',']

Roadmap

  • Decimal
  • Zipcode
  • Locales

About

A masked input component for React Native using pure javascript.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •