naive-ui/demo/documentation/components/popover/enUS/width.md

11 lines
200 B
Markdown
Raw Normal View History

# Width
```html
<n-popover :width="500">
<template v-slot:activator>
<n-button style="margin:0;">
2020-01-30 17:38:14 +08:00
Width 500px
</n-button>
</template>
2020-01-30 17:38:14 +08:00
<span>Looks like a bar</span>
</n-popover>
```