Skip to content

Commit 5bedf77

Browse files
committed
feat: adjust a-image
1 parent f8928ad commit 5bedf77

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

src/components/atoms/a-image/a-image.stories.mdx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,6 @@ import AImage from './a-image.vue';
1717
</Story>
1818
</Canvas>
1919

20-
### Width and height use:
21-
22-
<Canvas>
23-
<Story name="Src use">
24-
{{
25-
components: { AImage },
26-
template: `<div>
27-
<a-image src="https://veja.abril.com.br/wp-content/uploads/2018/09/filme-avatar-107.jpg" width="30vh" />
28-
<a-image src="https://veja.abril.com.br/wp-content/uploads/2018/09/filme-avatar-107.jpg" height="30vh" />
29-
</div>`,
30-
}}
31-
</Story>
32-
</Canvas>
33-
3420
### Tag use:
3521

3622
<Canvas>

src/components/atoms/a-image/a-image.vue

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
'a-image': true,
66
[`a-image--behavior-${behavior}`]: behavior,
77
}"
8-
:style="{width, height}"
98
>
109
<img
1110
:src="src"
@@ -37,14 +36,6 @@ export default {
3736
type: String,
3837
required: true,
3938
},
40-
width: {
41-
type: String,
42-
default: 'auto',
43-
},
44-
height: {
45-
type: String,
46-
default: 'auto',
47-
},
4839
},
4940
};
5041
</script>

0 commit comments

Comments
 (0)