naive-ui/demo/documentation/components/tooltip/enUS/basic.md

11 lines
220 B
Markdown
Raw Normal View History

2019-09-28 13:47:54 +08:00
# Basic
```html
<n-tooltip>
<template v-slot:activator>
<n-button>
2020-01-30 17:38:14 +08:00
Duck
2019-09-28 13:47:54 +08:00
</n-button>
</template>
2020-01-30 17:38:14 +08:00
If it looks like a duck, walks like a duck, and quacks like a duck...it must be a duck.
2019-09-28 13:47:54 +08:00
</n-tooltip>
```