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

react-native-navigator-select

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-navigator-select

bottom sheet select

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

react-native-navigator-select

Getting Started

import BottomSelect, { SCREEN_NAME } from './components/select';

Navigation.registerComponent(SCREEN_NAME, () => BottomSelect);


// ... somewhere in some component

import { openSelect } from '../components/select';

import {openSelect} from 'react-native-navigator-select'
// call me to open sheet
function onClick(data=[]){
  openSelect({
      name: 'search drs', //placehodler for filter textInput
      id: 'id', //property name for Key | can be function
      value: 'body', //property for Select item | can be function
      data,
      renderItem: false, // function return react element
      onChange: console.log, // function called when selecting element
    }/*, passProps, styles*/);
  }
}

Keywords

react-native-naviator

FAQs

Package last updated on 03 Aug 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