react-photostory
Advanced tools
Comparing version 0.1.1 to 0.1.2
The MIT License (MIT) | ||
Copyright (c) 2015 Ritesh Kumar | ||
Copyright (c) 2015 loconsolutions | ||
@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy |
{ | ||
"name": "react-photostory", | ||
"description": "A mobile optimised lighweight gallery component written in React", | ||
"main": "dist/index.js", | ||
"main": "dist/index.j", | ||
"jsnext:main": "components/index.js", | ||
"module": "components/index.js", | ||
"files": [ | ||
"src", | ||
"components", | ||
"dist", | ||
@@ -22,3 +22,3 @@ "README" | ||
"test:report": "cat ./coverage/lcov.info | codecov && rm -rf ./coverage", | ||
"build": "babel components --out-dir dist", | ||
"build": "rm -rf dist && babel components --out-dir dist && cp components/swipe.css dist/swipe.css", | ||
"docs": "build-storybook -o docs" | ||
@@ -83,3 +83,3 @@ }, | ||
}, | ||
"version": "0.1.1" | ||
"version": "0.1.2" | ||
} |
@@ -6,4 +6,4 @@ #react-photostory | ||
[](https://codecov.io/gh/housinghq/react-photostory) | ||
[](https://travis-ci.org/housinghq/react-photostory) | ||
Demo is available [here](https://housinghq.github.io/react-photostory). Make sure devtools is | ||
@@ -27,5 +27,3 @@ open and mobile emulation is selected as this library currently only supports touch events. | ||
<Swipe | ||
className="photostory" | ||
> | ||
<Swipe className="photostory"> | ||
<Slide image="a.jpg" defaultImage="default1.jpg">Text 1</Slide> | ||
@@ -57,5 +55,3 @@ <Slide image="b.jpg" defaultimage="default2.jpg">Text 2</Slide> | ||
const x = ( | ||
<Swipe | ||
className="photostory" | ||
> | ||
<Swipe className="photostory"> | ||
<Slide image="a.jpg" defaultImage="default1.jpg">Text 1</Slide> | ||
@@ -104,3 +100,2 @@ <Slide image="b.jpg" defaultimage="default2.jpg">Text 2</Slide> | ||
### License | ||
MIT | ||
License @ MIT |
32332
11
776
98