docs: uniformize isOpen in examples

This commit is contained in:
Benjamin Canac
2023-05-14 15:05:33 +02:00
parent c47f5e6a68
commit cfcd2f1371
6 changed files with 21 additions and 21 deletions

View File

@@ -57,7 +57,7 @@ You can put a `CommandPalette` anywhere you want but it's most commonly used ins
#code
```vue
<script setup>
const open = ref(false)
const isOpen = ref(false)
const people = [
{ id: 1, label: 'Wade Cooper' },
@@ -77,9 +77,9 @@ const selected = ref([])
<template>
<div>
<UButton label="Open" @click="open = true" />
<UButton label="Open" @click="isOpen = true" />
<UModal v-model="open">
<UModal v-model="isOpen">
<UCommandPalette
v-model="selected"
multiple