Skip to content
Snippets Groups Projects
Commit f96dd153 authored by Kasper Seweryn's avatar Kasper Seweryn 🥞
Browse files

docs: fix nested modals example

Part-of: <!93>
parent b44e0e8d
No related branches found
No related tags found
1 merge request!93feat: add alert and modal components
......@@ -88,17 +88,13 @@ const open5 = ref(false)
```vue-html
<fw-modal v-model="open" title="My modal">
Modal content
<fw-modal v-model="openNested" title="My modal">
Nested modal content
</fw-modal>
<template #actions>
<fw-button @click="open = false" color="secondary">
Cancel
</fw-button>
<fw-button @click="open = false">
Ok
</fw-button>
</template>
<fw-button @click="openNested = true">
Open nested modal
</fw-button>
</fw-modal>
<fw-button @click="open = true">
......@@ -107,9 +103,9 @@ const open5 = ref(false)
```
<fw-modal v-model="open4" title="My modal">
<fw-modal v-model="open5" title="My modal">
Nested modal content
</fw-modal>
<fw-modal v-model="open5" title="My modal">
Nested modal content
</fw-modal>
<fw-button @click="open5 = true">
Open nested modal
</fw-button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment