Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 439275f

Browse files
committed
docs: changed sample image urls
1 parent 3eaf4ac commit 439275f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

example/src/stories/BetterImage.stories.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ const Template = (args) => <BetterImage {...args} />;
1111

1212
const validSource = () => ({
1313
source: {
14-
uri: `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5&w=252&crop=fit&dpr=3&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
14+
uri: `https://unsplash.com/photos/yNvVnPcurD8/download?force=true&w=2400&bust=${Math.random()}`,
1515
},
1616
thumbnailSource: {
17-
uri: `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5&w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
17+
uri: `https://unsplash.com/photos/yNvVnPcurD8/download?force=true&w=24&bust=${Math.random()}`,
1818
},
1919
fallbackSource: {
20-
uri: `https://pyt-images.imgix.net/images/place-holder.png?bust=${Math.random()}`,
20+
uri: `https://unsplash.com/a/img/empty-states/photos.png?bust=${Math.random()}`,
2121
},
2222
});
2323
export const ValidImage = Template.bind({});
@@ -29,13 +29,13 @@ ValidImage.args = {
2929

3030
const inValidSource = () => ({
3131
source: {
32-
uri: `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5&w=252&crop=fit&dpr=0.3&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
32+
uri: `https://unsplash.com/photos/2347729843y7/download?force=true&w=2400&bust=${Math.random()}`,
3333
},
3434
thumbnailSource: {
35-
uri: `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5&w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
35+
uri: `https://unsplash.com/photos/2347729843y7/download?force=true&w=24&bust=${Math.random()}`,
3636
},
3737
fallbackSource: {
38-
uri: `https://pyt-images.imgix.net/images/place-holder.png?bust=${Math.random()}`,
38+
uri: `https://unsplash.com/a/img/empty-states/photos.png?bust=${Math.random()}`,
3939
},
4040
});
4141

@@ -48,13 +48,13 @@ InvalidImage.args = {
4848

4949
const invalidImageOnlySource = () => ({
5050
source: {
51-
uri: `https://pyt-images.imgix.net/images/app/pretrip/nowheretobefound.png?h=346.5&w=252&crop=fit&dpr=0.3&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
51+
uri: `https://unsplash.com/photos/2347729843y7/download?force=true&w=2400&bust=${Math.random()}`,
5252
},
5353
thumbnailSource: {
54-
uri: `https://pyt-images.imgix.net/images/app/pretrip/australia.png?h=346.5&w=252&crop=fit&dpr=0.1&auto=format,compress,enhance&q=10&bust=${Math.random()}`,
54+
uri: `https://unsplash.com/photos/yNvVnPcurD8/download?force=true&w=24&bust=${Math.random()}`,
5555
},
5656
fallbackSource: {
57-
uri: `https://pyt-images.imgix.net/images/place-holder.png?bust=${Math.random()}`,
57+
uri: `https://unsplash.com/a/img/empty-states/photos.png?bust=${Math.random()}`,
5858
},
5959
});
6060
export const InvalidImageButWithValidThumbnail = Template.bind({});

0 commit comments

Comments
 (0)