New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-native-keyboard-done-button

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-keyboard-done-button

Keyboard done button component for react native

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

react-native-keyboard-done-button

Keyboard done button component for React Native. Based on Danleveille`s demo app (ES2015 & React 15.5.0+ improvements).

Installation

$ npm install react-native-keyboard-done-button --save

Usage

import React, { Component } from 'react';
import { View, TextInput } from 'react-native';
import DoneButton from 'react-native-keyboard-done-button';

export default class Test extends Component {
  render() {
    return (
      <View>
        <TextInput
          placeholder="Phone"
          placeholderTextColor="#000"
          returnKeyType="next"
          defaultValue={this.phone}
        />
        <DoneButton
          title="Done!"   //not required, default value = `Done`
          style={{ backgroundColor: 'red' }}  //not required
          doneStyle={{ color: 'green' }}  //not required
        />
      </View>
    );
  }
}

Keywords

react

FAQs

Package last updated on 06 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts