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

react-native-table-component

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-table-component - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "react-native-table-component",
"version": "1.0.3",
"version": "1.0.4",
"description": "Build table for react native.",

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

@@ -86,3 +86,3 @@ # React Native Table Component

<Row data={tableHead} style={styles.head} textStyle={styles.text} flexArr={[1, 2, 1, 2]}/>
<Cols data={tableData} textStyle={styles.text} heightArr={[20, 50]} widthArr={[60, 120, 60, 120]}/>
<Cols data={tableData} textStyle={styles.text} heightArr={[20, 50]} flexArr={[1, 2, 1, 2]}/>
</Table>

@@ -135,4 +135,4 @@ </View>

head: { height: 40, backgroundColor: '#f1f8ff' },
title: { flex: 1 backgroundColor: '#f6f8fa' },
row: { height: 30 },
title: { flex: 1, backgroundColor: '#f6f8fa' },
row: { height: 28 },
text: { textAlign: 'center' }

@@ -162,3 +162,3 @@ })

return (
<View style={style.con}>
<View>
<Table style={{flexDirection: 'row'}}>

@@ -216,3 +216,3 @@ {/* Left Wrapper */}

return (
<View style={style.con}>
<View>
<Table style={styles.table}>

@@ -224,3 +224,3 @@ {/* Left Wrapper */}

tableTitle.map((title, i) => (
<Cell key={i} data={title} height={28} style={[styles.title, i%2 && {backgroundColor: '#DFF5F2'}]} textStyle={styles.titleText}/>
<Cell key={i} data={title} height={28} style={i%2 && {backgroundColor: '#DFF5F2'}} textStyle={styles.titleText}/>
))

@@ -253,3 +253,3 @@ }

titleText: { marginLeft: 6 },
list: { height: 30, backgroundColor: '#f0f0f0' },
list: { height: 28, backgroundColor: '#f0f0f0' },
listText: { textAlign: 'right', marginRight: 6 }

@@ -256,0 +256,0 @@ })

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