19 lines
387 B
Vue
19 lines
387 B
Vue
|
|
<script>
|
||
|
|
import { defineComponent, h } from "vue";
|
||
|
|
export default defineComponent({
|
||
|
|
name: "DocumentDrivenEmpty",
|
||
|
|
props: {
|
||
|
|
value: {
|
||
|
|
type: Object,
|
||
|
|
required: true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
render({ value }) {
|
||
|
|
return h("div", void 0, [
|
||
|
|
h("p", "Document is empty"),
|
||
|
|
h("p", `Add content to it by opening ${value._source}/${value._file} file.`)
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
});
|
||
|
|
</script>
|