Socket
Socket
Sign inDemoInstall

opentok-react-native

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opentok-react-native - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

package.json
{
"name": "opentok-react-native",
"version": "0.3.2",
"version": "0.3.3",
"description": "React Native components for OpenTok iOS and Android SDKs",

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

import React, { Component, Children, cloneElement } from 'react';
import { View } from 'react-native';
import { View, ViewPropTypes } from 'react-native';
import PropTypes from 'prop-types';

@@ -74,2 +74,5 @@ import { setNativeEvents, OT } from './OT';

render() {
const { style } = this.props;
if (this.props.children) {

@@ -85,3 +88,3 @@ const childrenWithProps = Children.map(

);
return <View>{ childrenWithProps }</View>;
return <View style={style}>{ childrenWithProps }</View>;
}

@@ -100,2 +103,3 @@ return <View />;

]),
style: ViewPropTypes.style,
eventHandlers: PropTypes.object, // eslint-disable-line react/forbid-prop-types

@@ -108,2 +112,5 @@ signal: PropTypes.object, // eslint-disable-line react/forbid-prop-types

signal: {},
style: {
flex: 1
},
};
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