File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
<template>
7
7
<div class="app-content-details">
8
- <!-- @slot Provide content to the details view -->
9
8
<slot />
10
9
</div>
11
10
</template>
12
11
13
- <script>
14
- export default {
15
- name: 'NcAppContentDetails',
16
- }
12
+ <script setup lang="ts">
13
+ import type { Slot } from 'vue'
14
+
15
+ defineSlots<{
16
+ /**
17
+ * Provide content to the details view.
18
+ * Passing content to this slot is required!
19
+ */
20
+ default: Slot
21
+ }>()
17
22
</script>
File renamed without changes.
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export { default as NcActionSeparator } from './NcActionSeparator/index.js'
16
16
export { default as NcActionText } from './NcActionText/index.js'
17
17
export { default as NcActionTextEditable } from './NcActionTextEditable/index.js'
18
18
export { default as NcAppContent } from './NcAppContent/index.js'
19
- export { default as NcAppContentDetails } from './NcAppContentDetails/index.js '
19
+ export { default as NcAppContentDetails } from './NcAppContentDetails/index.ts '
20
20
export { default as NcAppContentList } from './NcAppContentList/index.js'
21
21
export { default as NcAppNavigation } from './NcAppNavigation/index.js'
22
22
export { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'
You can’t perform that action at this time.
0 commit comments