Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 24 additions & 55 deletions README.md

Large diffs are not rendered by default.

327 changes: 327 additions & 0 deletions dist/index.js

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions dist/styles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const react_native_1 = require("react-native");
const styles = react_native_1.StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'transparent'
},
parallaxHeaderContainer: {
backgroundColor: 'transparent',
overflow: 'hidden'
},
parallaxHeader: {
backgroundColor: 'transparent',
overflow: 'hidden'
},
backgroundImage: {
position: 'absolute',
backgroundColor: 'transparent',
overflow: 'hidden',
top: 0
},
stickyHeader: {
backgroundColor: 'transparent',
position: 'absolute',
overflow: 'hidden',
top: 0,
left: 0
},
scrollView: {
backgroundColor: 'transparent'
}
});
exports.default = styles;
2 changes: 2 additions & 0 deletions dist/types.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
112 changes: 89 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 36 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
{
"name": "react-native-parallax-scroll-view",
"version": "0.21.3",
"description": "A ScrollView-like component with parallax and sticky header support",
"main": "src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/jaysoo/react-native-parallax-scroll-view"
},
"files": [
"src",
"demo.ios.gif",
"demo.android.20160117.gif",
"README.md",
"LICENSE"
],
"keywords": [
"react-native",
"react",
"parallax",
"scrollable",
"scrollview",
"sticky",
"react-component",
"ios",
"android"
],
"author": "Jack Hsu",
"license": "ISC",
"dependencies": {
"deprecated-react-native-prop-types": "^2.3.0",
"prop-types": "^15.6.0"
}
"name": "react-native-parallax-scroll-view",
"version": "1.0.0",
"description": "A ScrollView-like component with parallax and sticky header support",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "https://github.com/i6mi6/react-native-parallax-scroll-view"
},
"scripts": {
"build": "tsc"
},
"files": [
"src",
"demo.ios.gif",
"demo.android.20160117.gif",
"README.md",
"LICENSE"
],
"keywords": [
"react-native",
"react",
"parallax",
"scrollable",
"scrollview",
"sticky",
"react-component",
"ios",
"android"
],
"author": "Jack Hsu",
"license": "ISC",
"devDependencies": {
"@types/react": "^18.2.73",
"@types/react-native": "^0.70.19",
"typescript": "^5.4.3"
}
}
Loading