clwy-react-native-tableview-simple 4.5.4 → 4.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -35,16 +35,13 @@ Have a look at the [examples below](https://github.com/Purii/react-native-tablev
35
35
  1. _Install as dependency:_
36
36
 
37
37
  ```sh
38
- // yarn
39
- yarn add react-native-tableview-simple
40
- // or npm
41
- npm i react-native-tableview-simple --S
38
+ npm i clwy-react-native-tableview-simple
42
39
  ```
43
40
 
44
41
  2. _Add needed components:_
45
42
 
46
43
  ```javascript
47
- import { Cell, Section, TableView } from 'react-native-tableview-simple';
44
+ import { Cell, Section, TableView } from 'clwy-react-native-tableview-simple';
48
45
  ```
49
46
 
50
47
  ## Extensible
@@ -185,7 +182,7 @@ import {
185
182
  Cell,
186
183
  Section,
187
184
  TableView,
188
- } from 'react-native-tableview-simple';
185
+ } from 'clwy-react-native-tableview-simple';
189
186
 
190
187
  const CellVariant = (props) => (
191
188
  <Cell
@@ -230,7 +227,7 @@ import {
230
227
  Cell,
231
228
  Section,
232
229
  TableView,
233
- } from 'react-native-tableview-simple';
230
+ } from 'clwy-react-native-tableview-simple';
234
231
 
235
232
 
236
233
  const cellPropsVariant = {
@@ -347,7 +344,7 @@ To run the example project, follow these steps:
347
344
 
348
345
  import React, { Component } from 'react';
349
346
  import { AppRegistry, ScrollView, StyleSheet, Text, View } from 'react-native';
350
- import { Cell, Section, TableView } from 'react-native-tableview-simple';
347
+ import { Cell, Section, TableView } from 'clwy-react-native-tableview-simple';
351
348
 
352
349
  export default class App extends Component<{}> {
353
350
  render() {
@@ -425,7 +422,7 @@ import {
425
422
  TextInput,
426
423
  View,
427
424
  } from 'react-native';
428
- import { Cell, Section, TableView } from 'react-native-tableview-simple';
425
+ import { Cell, Section, TableView } from 'clwy-react-native-tableview-simple';
429
426
 
430
427
  export default class App extends Component<{}> {
431
428
  render() {
@@ -692,7 +689,7 @@ Be aware of the prop [`keyboardShouldPersistTaps`](https://facebook.github.io/re
692
689
  import React from 'react';
693
690
  import { FlatList } from 'react-native';
694
691
 
695
- import { Cell, Separator, TableView } from 'react-native-tableview-simple';
692
+ import { Cell, Separator, TableView } from 'clwy-react-native-tableview-simple';
696
693
 
697
694
  const data = [
698
695
  { id: 1, title: '1' },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "clwy-react-native-tableview-simple",
3
3
  "description": "React Native component for TableView made with pure CSS",
4
4
  "homepage": "https://github.com/Purii/react-native-tableview-simple",
5
- "version": "4.5.4",
5
+ "version": "4.5.6",
6
6
  "author": "Patrick Böder <hello@patrickpuritscher.com>",
7
7
  "scripts": {
8
8
  "clean": "watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn",
@@ -504,8 +504,8 @@ const styles = StyleSheet.create({
504
504
  height: 10,
505
505
  marginLeft: 7,
506
506
  backgroundColor: 'transparent',
507
- borderTopWidth: 1,
508
- borderRightWidth: 1,
507
+ borderTopWidth: 2,
508
+ borderRightWidth: 2,
509
509
  borderColor: '#c7c7cc',
510
510
  transform: [
511
511
  {
@@ -260,7 +260,7 @@ const styles = StyleSheet.create({
260
260
  section: {},
261
261
  sectionChildren: {},
262
262
  sectionChildrenRoundedCorners: {
263
- borderRadius: 10,
263
+ borderRadius: 30,
264
264
  overflow: 'hidden',
265
265
  },
266
266
  sectionheader: {
@@ -66,7 +66,7 @@ const Separator: React.FC<SeparatorInterface> = ({
66
66
  const styles = StyleSheet.create({
67
67
  separator: {},
68
68
  separatorInner: {
69
- height: StyleSheet.hairlineWidth,
69
+ height: 1,
70
70
  },
71
71
  });
72
72