-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(result-images): migrate result images components to composition API
- Loading branch information
1 parent
89850fa
commit 9edf0b3
Showing
5 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/_vue3-migration-test/src/components/result/test-base-result-images.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<template> | ||
<h1>BasePlaceholderImage</h1> | ||
<BasePlaceholderImage class="staticClass" :class="{ class: true }" /> | ||
<h1>BaseFallbackImage</h1> | ||
<BaseFallbackImage class="staticClass" :class="{ class: true }" /> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import BasePlaceholderImage from '../../../../x-components/src/components/result/base-result-placeholder-image.vue'; | ||
import BaseFallbackImage from '../../../../x-components/src/components/result/base-result-fallback-image.vue'; | ||
</script> | ||
|
||
<style scoped> | ||
.staticClass { | ||
height: 300px; | ||
width: 300px; | ||
} | ||
.class { | ||
border: 1px solid green; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters