Skip to content

Commit

Permalink
Fix example for imageSet
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaolin committed Jan 14, 2018
1 parent b9a18bc commit 03b4324
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ class App extends React.Component {
{
original: `${PREFIX_URL}image_set_default.jpg`,
thumbnail: `${PREFIX_URL}image_set_thumb.jpg`,
imgSet: [
imageSet: [
{
srcSet: `${PREFIX_URL}image_set_default.jpg`,
srcSet: `${PREFIX_URL}image_set_cropped.jpg`,
media : '(max-width: 1280px)',
},
{
srcSet: `${PREFIX_URL}image_set_cropped.jpg`,
srcSet: `${PREFIX_URL}image_set_default.jpg`,
media : '(min-width: 1280px)',
}
]
Expand Down

0 comments on commit 03b4324

Please sign in to comment.