Skip to content

Commit e17e885

Browse files
icarusgkmapsandapps
authored andcommitted
refactor: <ion-avatar />
1 parent 559b5ea commit e17e885

File tree

4 files changed

+8
-28
lines changed

4 files changed

+8
-28
lines changed

static/usage/v7/avatar/basic/vue.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
</ion-avatar>
66
</template>
77

8-
<script lang="ts">
9-
import { IonAvatar } from '@ionic/vue';
10-
import { defineComponent } from 'vue';
11-
12-
export default defineComponent({
13-
components: { IonAvatar },
14-
});
8+
<script lang="ts" setup>
9+
import { IonAvatar } from '@ionic/vue';
1510
</script>
1611
```

static/usage/v7/avatar/chip/vue.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@
88
</ion-chip>
99
</template>
1010

11-
<script lang="ts">
12-
import { IonAvatar, IonChip, IonLabel } from '@ionic/vue';
13-
import { defineComponent } from 'vue';
14-
15-
export default defineComponent({
16-
components: { IonAvatar, IonChip, IonLabel },
17-
});
11+
<script lang="ts" setup>
12+
import { IonAvatar, IonChip, IonLabel } from '@ionic/vue';
1813
</script>
1914
```

static/usage/v7/avatar/item/vue.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@
88
</ion-item>
99
</template>
1010

11-
<script lang="ts">
12-
import { IonAvatar, IonItem, IonLabel } from '@ionic/vue';
13-
import { defineComponent } from 'vue';
14-
15-
export default defineComponent({
16-
components: { IonAvatar, IonItem, IonLabel },
17-
});
11+
<script lang="ts" setup>
12+
import { IonAvatar, IonItem, IonLabel } from '@ionic/vue';
1813
</script>
1914
```

static/usage/v7/avatar/theming/css-properties/vue.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@
55
</ion-avatar>
66
</template>
77

8-
<script lang="ts">
9-
import { IonAvatar } from '@ionic/vue';
10-
import { defineComponent } from 'vue';
11-
12-
export default defineComponent({
13-
components: { IonAvatar },
14-
});
8+
<script lang="ts" setup>
9+
import { IonAvatar } from '@ionic/vue';
1510
</script>
1611

1712
<style scoped>

0 commit comments

Comments
 (0)