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

11 lines
182 B
Markdown
Raw Normal View History

# Width
```html
<n-popover :width="500">
<template v-slot:activator>
<n-button>
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>
```