Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-virtual-keyboard

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-virtual-keyboard - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "react-native-virtual-keyboard",
"version": "1.0.0",
"version": "1.0.1",
"description": "React native's software/virtual keyboard, which can be used instead of Android/iOS ones if it suits your app style better.",

@@ -5,0 +5,0 @@ "main": "./src/VirtualKeyboard.js",

@@ -16,3 +16,3 @@ 'use strict';

const backspaceImg = require('../img/backspace.png');
const backspaceImg = require('./backspace.png');

@@ -42,8 +42,8 @@ class VirtualKeyboard extends Component {

<View style={styles.container}>
{this.KeyboardRow([1, 2, 3])}
{this.KeyboardRow([4, 5, 6])}
{this.KeyboardRow([7, 8, 9])}
{this.Row([1, 2, 3])}
{this.Row([4, 5, 6])}
{this.Row([7, 8, 9])}
<View style={styles.keyboardRow}>
<View style={{ flex: 1 }} />
{this.KeyboardCell(0)}
{this.Cell(0)}
<TouchableOpacity accessibilityLabel='backspace' style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }} onPress={() => { this.onPress('back') }}>

@@ -57,4 +57,4 @@ <Image source={backspaceImg} style={{ tintColor: this.props.color }} />

KeyboardRow(numbersArray) {
let cells = numbersArray.map((val) => this.KeyboardCell(val));
Row(numbersArray) {
let cells = numbersArray.map((val) => this.Cell(val));
return (

@@ -67,3 +67,3 @@ <View style={styles.keyboardRow}>

KeyboardCell(number) {
Cell(number) {
return (

@@ -70,0 +70,0 @@ <TouchableOpacity style={{ flex: 1 }} accessibilityLabel={number.toString()} onPress={() => { this.onPress(number.toString()) }}><Text style={[styles.keyboardNumber, { color: this.props.color }]}>{number}</Text></TouchableOpacity>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc