naive-ui/demo/documentation/components/popover/enUS/width.demo.md
2020-09-10 14:18:02 +08:00

205 B

Body Style

<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>