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

react-tags-html

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tags-html - npm Package Compare versions

Comparing version 0.0.4 to 0.0.6

index.js

2

components/a/Div.js

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ return <View>{children}</View>

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ return <ReactButton>{children}</ReactButton>

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ return <View>{children}</View>

2

components/div/index.js

@@ -1,1 +0,1 @@

export { default as Div } from './Div.js'
export { default } from './Div.js'

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ switch(type){

@@ -9,7 +9,9 @@ import React, { Component } from 'react';

const { src } = this.props;
if(Platform.isNative) {
return <Image source={{src}}/>
return <Image source={src}/>
}
else if(Platform.isWeb) {
return <img src={{src}}/>
return <img src={src}/>
}

@@ -16,0 +18,0 @@

export { default as Div } from './div';
export { default as Platform } from './platform';
//export { default as Span } from './span';
//export { default as p } from './p';
export { default as Span } from './span';
export { default as A } from './a';
export { default as Button } from './button';
export { default as H } from './h';
export { default as Img } from './img';
// ... add others + more

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ return <View>{children}</View>

@@ -6,5 +6,7 @@ import React, { Component } from 'react';

class Ol extends Component {
render () {
const { children } = this.props;
if(Platform.isNative) {

@@ -21,2 +23,2 @@ return <View>{children}</View>

export default Ol;
export default Ol;

@@ -6,5 +6,7 @@ import React, { Component } from 'react';

class P extends Component {
render () {
const { children } = this.props;
if(Platform.isNative) {

@@ -21,2 +23,2 @@ return <Text>{children}</Text>

export default P;
export default P;

@@ -1,1 +0,1 @@

export { default as Platform } from './Platform.js'
export { default } from './Platform.js'

@@ -9,2 +9,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -11,0 +13,0 @@ return <View>{children}</View>

@@ -10,2 +10,4 @@ import React, { Component } from 'react';

const { children } = this.props;
if(Platform.isNative) {

@@ -12,0 +14,0 @@ return <View>{children}</View>

{
"name": "react-tags-html",
"version": "0.0.4",
"version": "0.0.6",
"main": "index.js",

@@ -5,0 +5,0 @@ "private": false,

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