Skip to content

Commit da75180

Browse files
committed
added no source story to symbol thumbail
1 parent 83e3885 commit da75180

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/uui-symbol-file-thumbnail/lib/uui-symbol-file-thumbnail.story.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,22 @@ export default {
1111

1212
export const Overview: Story = props =>
1313
html`<uui-symbol-file-thumbnail
14-
style="max-width: 300px;"
14+
style="max-width: 300px; max-height: 300px"
1515
src=${props.src}
1616
alt=${props.alt}></uui-symbol-file-thumbnail>`;
1717

1818
Overview.args = {
1919
src: 'https://picsum.photos/300/200',
2020
alt: 'Image alt',
2121
};
22+
23+
export const NoSource: Story = props =>
24+
html`<uui-symbol-file-thumbnail
25+
style="max-width: 300px; max-height: 300px"
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

Comments
 (0)