forked from opentiny/tiny-vue
22 lines
344 B
Vue
22 lines
344 B
Vue
<template>
|
|
<div>
|
|
<tiny-alert :icon="IconBoat" description="自定义图标"></tiny-alert>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Alert } from '@opentiny/vue'
|
|
import { iconBoat } from '@opentiny/vue-icon'
|
|
|
|
export default {
|
|
components: {
|
|
TinyAlert: Alert
|
|
},
|
|
data() {
|
|
return {
|
|
IconBoat: iconBoat()
|
|
}
|
|
}
|
|
}
|
|
</script>
|