Skip to content

Commit 6103a65

Browse files
committed
Now, assets are in npmignore, library size reduced massively
1 parent 6577959 commit 6103a65

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
**/node_modules
33
node_modules
44
# Example
5-
example
5+
example
6+
# Assets
7+
assets

lib/src/components/AppleHeader/AppleHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ AppleHeader.defaultProps = {
8787
dateTitle: "MONDAY, 27 NOVEMBER",
8888
containerStyle: styles.container,
8989
largeTitleStyle: styles.largeTitleStyle,
90-
imageSource: require("../../../../assets/temp/joshua-rawson-harris-NdZtmw_jlMk-unsplash.jpg")
90+
imageSource: require("./assets/temp/joshua-rawson-harris-NdZtmw_jlMk-unsplash.jpg")
9191
};
9292

9393
export default AppleHeader;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@freakycoder/react-native-header-view",
3-
"version": "0.4.6",
3+
"version": "0.4.7",
44
"description": "Fully customizable Header View for React Native.",
55
"keywords": [
66
"apple",

0 commit comments

Comments
 (0)