2
0
mirror of https://github.com/tusen-ai/naive-ui.git synced 2025-02-17 13:20:52 +08:00
naive-ui/demo/documentation/components/popover/enUS/width.demo.md
2020-09-10 14:18:02 +08:00

11 lines
205 B
Markdown

# Body Style
```html
<n-popover :body-style="{ width: '500px' }">
<template v-slot:trigger>
<n-button>
Width 500px
</n-button>
</template>
<span>Looks like a bar</span>
</n-popover>
```