We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e3885 commit da75180Copy full SHA for da75180
packages/uui-symbol-file-thumbnail/lib/uui-symbol-file-thumbnail.story.ts
@@ -11,11 +11,22 @@ export default {
11
12
export const Overview: Story = props =>
13
html`<uui-symbol-file-thumbnail
14
- style="max-width: 300px;"
+ style="max-width: 300px; max-height: 300px"
15
src=${props.src}
16
alt=${props.alt}></uui-symbol-file-thumbnail>`;
17
18
Overview.args = {
19
src: 'https://picsum.photos/300/200',
20
alt: 'Image alt',
21
};
22
+
23
+export const NoSource: Story = props =>
24
+ html`<uui-symbol-file-thumbnail
25
26
+ src=${props.src}
27
+ alt=${props.alt}></uui-symbol-file-thumbnail>`;
28
29
+NoSource.args = {
30
+ src: '',
31
+ alt: 'Image alt',
32
+};
0 commit comments