react-native-table-component
Advanced tools
Comparing version 1.0.6 to 1.1.0
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { View, Text, StyleSheet } from 'react-native'; | ||
@@ -7,6 +8,6 @@ import Cell from './cell'; | ||
static propTypes = { | ||
width: React.PropTypes.number, | ||
heightArr: React.PropTypes.array, | ||
flexArr: React.PropTypes.array, | ||
data: React.PropTypes.array, | ||
width: PropTypes.number, | ||
heightArr: PropTypes.array, | ||
flexArr: PropTypes.array, | ||
data: PropTypes.array, | ||
style: View.propTypes.style, | ||
@@ -40,6 +41,6 @@ textStyle: Text.propTypes.style, | ||
static propTypes = { | ||
widthArr: React.PropTypes.array, | ||
heightArr: React.PropTypes.array, | ||
flexArr: React.PropTypes.array, | ||
data: React.PropTypes.array, | ||
widthArr: PropTypes.array, | ||
heightArr: PropTypes.array, | ||
flexArr: PropTypes.array, | ||
data: PropTypes.array, | ||
style: View.propTypes.style, | ||
@@ -46,0 +47,0 @@ textStyle: Text.propTypes.style, |
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import { View, Text, StyleSheet } from 'react-native'; | ||
@@ -7,5 +8,5 @@ import Cell from './cell'; | ||
static propTypes = { | ||
widthArr: React.PropTypes.array, | ||
flexArr: React.PropTypes.array, | ||
data: React.PropTypes.array, | ||
widthArr: PropTypes.array, | ||
flexArr: PropTypes.array, | ||
data: PropTypes.array, | ||
style: View.propTypes.style, | ||
@@ -48,5 +49,5 @@ textStyle: Text.propTypes.style, | ||
static propTypes = { | ||
widthArr: React.PropTypes.array, | ||
flexArr: React.PropTypes.array, | ||
data: React.PropTypes.array, | ||
widthArr: PropTypes.array, | ||
flexArr: PropTypes.array, | ||
data: PropTypes.array, | ||
style: View.propTypes.style, | ||
@@ -53,0 +54,0 @@ textStyle: Text.propTypes.style, |
{ | ||
"name": "react-native-table-component", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Build table for react native.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -265,3 +265,1 @@ # React Native Table Component | ||
| <b>heightArr</b> | Array | Height per line. | `[]` | | ||
If you want set borderWidth smaller than 1. Use`borderWidth: 0.5`, and use `borderWidth: 0.333` in iphone Plus. |
282
16855
265