| 1 | <script setup lang="ts"> |
| 2 | import type { ClicksContext } from '@slidev/types' |
| 3 | import { useSlideInfo } from '../composables/useSlideInfo' |
| 4 | import NoteDisplay from './NoteDisplay.vue' |
| 5 | |
| 6 | const props = defineProps<{ |
| 7 | no: number |
| 8 | class?: string |
| 9 | clicksContext?: ClicksContext |
| 10 | }>() |
| 11 | |
| 12 | const { info } = useSlideInfo(props.no) |
| 13 | </script> |
| 14 | |
| 15 | <template> |
| 16 | <NoteDisplay |
| 17 | :class="props.class" |
| 18 | :note="info?.note" |
| 19 | :note-html="info?.noteHTML" |
| 20 | :clicks-context="clicksContext" |
| 21 | /> |
| 22 | </template> |
| 23 |