Skip to content

Commit

Permalink
Now, assets are in npmignore, library size reduced massively
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Oct 4, 2019
1 parent 6577959 commit 6103a65
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
**/node_modules
node_modules
# Example
example
example
# Assets
assets
2 changes: 1 addition & 1 deletion lib/src/components/AppleHeader/AppleHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ AppleHeader.defaultProps = {
dateTitle: "MONDAY, 27 NOVEMBER",
containerStyle: styles.container,
largeTitleStyle: styles.largeTitleStyle,
imageSource: require("../../../../assets/temp/joshua-rawson-harris-NdZtmw_jlMk-unsplash.jpg")
imageSource: require("./assets/temp/joshua-rawson-harris-NdZtmw_jlMk-unsplash.jpg")
};

export default AppleHeader;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freakycoder/react-native-header-view",
"version": "0.4.6",
"version": "0.4.7",
"description": "Fully customizable Header View for React Native.",
"keywords": [
"apple",
Expand Down

0 comments on commit 6103a65

Please sign in to comment.