File tree Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Expand file tree Collapse file tree 3 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 33 - SPDX-License-Identifier: AGPL-3.0-or-later
44-->
55
6+ <script setup lang="ts">
7+ import type { Slot } from ' vue'
8+
9+ defineSlots <{
10+ /**
11+ * Provide content to the details view.
12+ * Passing content to this slot is required!
13+ */
14+ default? : Slot
15+ }>()
16+ </script >
17+
618<template >
719 <div class =" app-content-details" >
8- <!-- @slot Provide content to the details view -->
920 <slot />
1021 </div >
1122</template >
12-
13- <script >
14- export default {
15- name: ' NcAppContentDetails' ,
16- }
17- </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'
1616export { default as NcActionText } from './NcActionText/index.js'
1717export { default as NcActionTextEditable } from './NcActionTextEditable/index.js'
1818export { 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 '
2020export { default as NcAppContentList } from './NcAppContentList/index.js'
2121export { default as NcAppNavigation } from './NcAppNavigation/index.js'
2222export { default as NcAppNavigationCaption } from './NcAppNavigationCaption/index.js'
You can’t perform that action at this time.
0 commit comments