Skip to content

Commit 65e95c8

Browse files
committed
try to fixed react refs must have owner: webpack/webpack#1275 (comment)
1 parent 830a7ba commit 65e95c8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

example/example2/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"author": "Ching-Ching Yeh <learningg@gmail.com> (https://github.com/Grace951)",
1313
"license": "MIT",
1414
"dependencies": {
15+
"react-dom": "^15.4.1",
1516
"react-image-carousel": "^1.0.9"
1617
},
1718
"devDependencies": {

example/example2/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ render((<div className="my-carousel">
1818
<Carousel images={images}
1919
thumb={true}
2020
loop={true}
21-
autoplay={3000}/>
21+
autoplay={5000}/>
2222
</div>), document.getElementById("app"));

src/sass/_index.html.sass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ $prevnextWidth: 50px
6363
opacity: 1
6464
transition: opacity .5s ease-in
6565
img
66-
max-width: 100%
66+
max-width: 100%
67+
max-height: 100%
6768
.carousel-footer
6869
height: $footerHeight
6970
background-color: #ddd

0 commit comments

Comments
 (0)