react-tags-html
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "react-tags-html", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "module": "src/index.js", |
import React, { Component } from 'react'; | ||
import { View } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Div extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <View>{children}</View> | ||
export default Div; | ||
export default Div; |
import React, { Component } from 'react'; | ||
import { Button as ReactButton } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Button extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <ReactButton>{children}</ReactButton> | ||
export default Button; | ||
export default Button; |
import React, { Component } from 'react'; | ||
import { View } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Div extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <View>{children}</View> | ||
export default Div; | ||
export default Div; |
import React, { Component } from 'react'; | ||
import { Text } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class H extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -58,2 +58,2 @@ switch(type){ | ||
export default H; | ||
export default H; |
import React, { Component } from 'react'; | ||
import { Image } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Img extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <Image source={{src}}/> | ||
export default Img; | ||
export default Img; |
import React, { Component } from 'react'; | ||
import { TextInput } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Input extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <TextInput /> | ||
export default Input; | ||
export default Input; |
import React, { Component } from 'react'; | ||
import { View } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Li extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <View>{children}</View> | ||
export default Li; | ||
export default Li; |
@@ -23,8 +23,7 @@ import React, { Component } from 'react'; | ||
} | ||
return null; | ||
} | ||
}; | ||
export default Platform; | ||
export default Platform; |
import React, { Component } from 'react'; | ||
import { View } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Span extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +20,2 @@ return <View>{children}</View> | ||
export default Span; | ||
export default Span; |
import React, { Component } from 'react'; | ||
import { View } from 'react-native'; | ||
import { Platform } from 'src/components'; | ||
import { Platform } from '../'; | ||
class Ul extends Component { | ||
render () { | ||
if(Platform.isNative) { | ||
@@ -20,2 +21,2 @@ return <View>{children}</View> | ||
export default Ul; | ||
export default Ul; |
235
6458