refs #3301 Rewrite molecules/Toot/Quote with composition API

This commit is contained in:
AkiraFukushima 2022-05-21 01:30:04 +09:00
parent f0d0a01503
commit 189a35017f
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
1 changed files with 13 additions and 11 deletions

View File

@ -11,32 +11,34 @@
</div>
</template>
<script>
import FailoverImg from '~/src/renderer/components/atoms/FailoverImg'
export default {
<script lang="ts">
import { defineComponent } from 'vue'
import FailoverImg from '~/src/renderer/components/atoms/FailoverImg.vue'
export default defineComponent({
name: 'quote',
props: {
icon: {
type: String,
default: '',
default: ''
},
username: {
type: String,
default: '',
default: ''
},
accountName: {
type: String,
default: '',
default: ''
},
body: {
type: String,
default: '',
},
default: ''
}
},
components: {
FailoverImg,
},
}
FailoverImg
}
})
</script>
<style lang="scss">