Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

lukaspawlik/react-native-dismissable-numeric-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native Dismissable Numeric Keyboard

Add extra button to numeric keyboard to allow user dismiss it. To enable this integration TextInput component has to contain keyboardType and returnKeyType props.

This supports only iOS as this module does not contain any Android file.

##Installation

npm install --save react-native-dismissable-numeric-keyboard
rnpm link

##Sample usage in code

<TextInput
	autoCapitalize={ true }
	autoCorrect={ true }
	placeholder="Some placeholder text"
	returnKeyType={ returnKeyType }
	keyboardType="numeric"
/>

where returnKeyType can be one of supported return key types.

returnKeyType values and mapping

- done    - Done
- default - Save
- search  - Search
- send    - Add
- go      - Edit

##Changelog + v0.0.1

    First release

About

Add extra button to numeric keyboard to allow user dismiss it.

Resources

License

Stars

Watchers

Forks

Packages

No packages published