diff --git a/docs/components/modal/index.md b/docs/components/modal/index.md index 0c6935bd632b1cfec97d08a74e953e8e4674a75d..314125f0acf99d1487aed9ec964af54da56f4c46 100644 --- a/docs/components/modal/index.md +++ b/docs/components/modal/index.md @@ -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>