Skip to content

Commit 33bdfc3

Browse files
authored
Removed examples from main project (#110)
* Removed examples from main project * Updated readme file * Updated Readme file
1 parent 20bb17b commit 33bdfc3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+20
-10274
lines changed

.DS_Store

-2 KB
Binary file not shown.

README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# react-native-nested-listview
22

3-
43
UI component for React Native that allows to create a listview with N levels of nesting
54

65
![platforms](https://img.shields.io/badge/platforms-Android%20%7C%20iOS-brightgreen.svg?style=flat-square)
@@ -18,6 +17,7 @@ UI component for React Native that allows to create a listview with N levels of
1817
1. [Roadmap](#roadmap)
1918

2019
## Show
20+
2121
![react-native-nested-listview](https://i.imgur.com/Y3VFTry.gif)
2222
![react-native-nested-listview](https://i.imgur.com/nJvl0ZT.gif)
2323

@@ -51,29 +51,29 @@ const data = [{title: 'Node 1', items: [{title: 'Node 1.1'}, {title: 'Node 1.2'}
5151

5252
### NestedListView
5353

54-
Prop | Description | Type | Default
55-
------ | ------ | ------ | ------
56-
**`data`** | Array of nested items | Array | **Required**
57-
**`renderNode`** | Takes a node from data and renders it into the NestedlistView. The function receives `{node, level}` (see [Usage](#usage)) and must return a React element. | Function | **Required**
58-
**`getChildrenName`** | Function to determine in a node where are the children, by default NestedListView will try to find them in **items** | Function | **items**
59-
**`onNodePressed`** | Function called when a node is pressed by a user | Function | Not required
60-
**`extraData`** | A marker property for telling the list to re-render | Object or Array | Not required
54+
| Prop | Description | Type | Default |
55+
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ------------ |
56+
| **`data`** | Array of nested items | Array | **Required** |
57+
| **`renderNode`** | Takes a node from data and renders it into the NestedlistView. The function receives `{node, level}` (see [Usage](#usage)) and must return a React element. | Function | **Required** |
58+
| **`getChildrenName`** | Function to determine in a node where are the children, by default NestedListView will try to find them in **items** | Function | **items** |
59+
| **`onNodePressed`** | Function called when a node is pressed by a user | Function | Not required |
60+
| **`extraData`** | A marker property for telling the list to re-render | Object or Array | Not required |
6161

6262
### NestedRow
6363

64-
Prop | Description | Type | Default
65-
------ | ------ | ------ | ------
66-
**`height`** | Height of the row | number | 50
67-
**`children`** | Content of the NestedRow | Component | **Required**
68-
**`level`** | Level where a given node is | number | **Required**
69-
**`style`** | NestedRow container style | Style | Not required
64+
| Prop | Description | Type | Default |
65+
| -------------- | --------------------------- | --------- | ------------ |
66+
| **`height`** | Height of the row | number | 50 |
67+
| **`children`** | Content of the NestedRow | Component | **Required** |
68+
| **`level`** | Level where a given node is | number | **Required** |
69+
| **`style`** | NestedRow container style | Style | Not required |
7070

71-
## Example
72-
You can find the following example in the [`/examples` folder](https://github.com/fjmorant/react-native-nested-listview/tree/master/example).
71+
## Examples
7372

74-
## Roadmap
73+
You can find examples [here](https://github.com/fjmorant/react-native-nested-listview-examples).
7574

76-
- Autoscrolling optionally
77-
- Expand/contract nodes programatically
78-
- Support animations
75+
## Roadmap
7976

77+
- Autoscrolling optionally
78+
- Expand/contract nodes programatically
79+
- Support animations

examples/.buckconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/.eslintcache

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/.eslintrc

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/.flowconfig

Lines changed: 0 additions & 69 deletions
This file was deleted.

examples/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/.gitignore

Lines changed: 0 additions & 59 deletions
This file was deleted.

examples/.watchmanconfig

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)