Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonwong committed Apr 20, 2018
1 parent 65125cd commit dacaaa5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# FlatList
> 从React-Native中迁移FlatList到rnx来

从 React Native 中迁移出来的独立 FlatList 组件
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wnpm/rnx-flatlist",
"version": "0.1.3",
"name": "rnx-flatlist",
"version": "0.0.1",
"description": "FlatList component for React Native.",
"main": "index.js",
"keywords": [
Expand All @@ -18,7 +18,7 @@
"src",
"index.js"
],
"author": "zhen.peng",
"author": "wangdagen",
"license": "ISC",
"devDependencies": {
"babel-plugin-add-module-exports": "^0.2.1",
Expand All @@ -33,7 +33,5 @@
"eslint": "^3.6.0",
"eslint-config-rnx": "^1.0.5",
"husky": "^0.14.3"
},
"dependencies": {
}
}
5 changes: 1 addition & 4 deletions src/FlatList.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
import React from 'react';
import { View } from 'react-native';
// import { StyleObj } from 'StyleSheetTypes';
import {
// ViewabilityConfig,
ViewabilityConfigCallbackPair,
} from 'ViewabilityHelper';
import ViewabilityHelper from './ViewabilityHelper';
import PureComponent from './PureComponent.js';

// import { Props as VirtualizedListProps } from 'VirtualizedList';
Expand Down
2 changes: 1 addition & 1 deletion src/VirtualizedList.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// ViewabilityConfigCallbackPair,
// } from 'ViewabilityHelper';

import React, { PropTypes } from 'React';
import React, { PropTypes } from 'react';
import ReactNative, {
ScrollView,
View,
Expand Down

0 comments on commit dacaaa5

Please sign in to comment.