Skip to content

Commit 0b5c470

Browse files
authored
docs(card): fix usage example for vue (#23535)
1 parent d598035 commit 0b5c470

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/components/card/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,12 @@ export class CardExample {
250250
</template>
251251

252252
<script>
253-
import { IonCard, IonCardContent, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel } from '@ionic/vue';
253+
import { IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel } from '@ionic/vue';
254254
import { pin, walk, warning, wifi, wine } from 'ionicons/icons';
255255
import { defineComponent } from 'vue';
256256
257257
export default defineComponent({
258-
components: { IonCard, IonCardContent, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel }
258+
components: { IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel }
259259
setup() {
260260
return { warning };
261261
}

core/src/components/card/usage/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
</template>
5050

5151
<script>
52-
import { IonCard, IonCardContent, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel } from '@ionic/vue';
52+
import { IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel } from '@ionic/vue';
5353
import { pin, walk, warning, wifi, wine } from 'ionicons/icons';
5454
import { defineComponent } from 'vue';
5555
5656
export default defineComponent({
57-
components: { IonCard, IonCardContent, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel }
57+
components: { IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonIcon, IonItem, IonLabel }
5858
setup() {
5959
return { warning };
6060
}

0 commit comments

Comments
 (0)