Skip to content

Commit 8d4f9aa

Browse files
committed
fix: a-image
1 parent 6ba4607 commit 8d4f9aa

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<component
33
:is="tag"
44
:class="{
5-
'a-logo': true,
6-
[`a-logo--behavior-${behavior}`]: behavior,
5+
'a-image': true,
6+
[`a-image--behavior-${behavior}`]: behavior,
77
}"
88
:style="{width, height}"
99
>
1010
<img
1111
:src="src"
12-
class="a-logo__image"
12+
class="a-image__image"
1313
>
1414
<figcaption v-if="caption">
1515
{{ caption }}
@@ -25,10 +25,6 @@ export default {
2525
type: String,
2626
default: 'figure',
2727
},
28-
type: {
29-
type: String,
30-
default: 'svg',
31-
},
3228
caption: {
3329
type: String,
3430
default: '',
@@ -54,7 +50,7 @@ export default {
5450
</script>
5551

5652
<style lang="scss">
57-
.a-logo {
53+
.a-image {
5854
margin: 0;
5955
position: relative;
6056
display: inline-block;

0 commit comments

Comments
 (0)