Socket
Socket
Sign inDemoInstall

@bee.js/react-native

Package Overview
Dependencies
93
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

3

BeeForm.js

@@ -59,3 +59,4 @@ import React, { useCallback } from 'react';

defaultValue: defaultValue,
i18n
i18n,
dataParams: props.dataParams
}

@@ -62,0 +63,0 @@

@@ -8,4 +8,8 @@ import React from 'react'

let options = props.options || []
let defaultValue = props.defaultValue || null
let defaultValue = props.defaultValue == undefined
? null
: props.defaultValue
if(typeof(options) == "function") options = options(props)
if(Array.isArray(defaultValue))

@@ -20,5 +24,8 @@ defaultValue = defaultValue.every( v => options.includes(v))

if(props.i18n)
options.map(item => item.label = props.i18n(item.label))
console.log(props.name + " = " + defaultValue)
return <DropDownPicker

@@ -25,0 +32,0 @@ style={{...props.styleInput}}

{
"name": "@bee.js/react-native",
"version": "0.0.5",
"version": "0.0.6",
"description": "Bee.js front-end for React Native",

@@ -12,2 +12,3 @@ "main": "index.js",

"react-dom": "~16.11.0",
"react-input-color": "^4.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.2.tar.gz"

@@ -14,0 +15,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc