naive-ui/demo/documentation/components/alertDemo/usingBuiltInIcon.demo.vue
2019-09-23 19:14:15 +08:00

37 lines
734 B
Vue

<template>
<div class="n-doc-section">
<div class="n-doc-section__header">
Builtin Icon
</div>
<div
class="n-doc-section__view"
style="display: block;"
>
<!--EXAMPLE_START-->
<n-alert
icon="md-airplane"
title="Back in the U.S.S.R."
>
Well the Ukraine girls really knock me out<br>
They leave the West behind<br>
And Moscow girls make me sing and shout<br>
That Georgia's always on my mind<br>
Aw come on!
</n-alert>
<!--EXAMPLE_END-->
</div>
<n-doc-source-block>
<!--SOURCE-->
</n-doc-source-block>
</div>
</template>
<script>
export default {
data () {
return {
}
}
}
</script>