ant-design-vue/components/tooltip/demo/basic.vue

24 lines
298 B
Vue
Raw Normal View History

2018-01-11 18:53:51 +08:00
<template>
<div>
<md>
## 基本
最简单的用法
</md>
<Tooltip>
<template slot='title'>
prompt text
</template>
Tooltip will show when mouse enter.
</Tooltip>
</div>
</template>
<script>
import { Tooltip } from 'antd'
export default {
components: {
Tooltip,
},
}
</script>