components/drive-window.vue

This commit is contained in:
tamaina 2022-01-11 15:49:17 +09:00
parent 961f9773c5
commit 145c5c4812

View file

@ -12,33 +12,17 @@
</XWindow> </XWindow>
</template> </template>
<script lang="ts"> <script lang="ts" setup>
import { defineComponent } from 'vue'; import { } from 'vue';
import * as Misskey from 'misskey-js';
import XDrive from './drive.vue'; import XDrive from './drive.vue';
import XWindow from '@/components/ui/window.vue'; import XWindow from '@/components/ui/window.vue';
export default defineComponent({ defineProps<{
components: { initialFolder?: Misskey.entities.DriveFolder;
XDrive, }>();
XWindow,
},
props: { defineEmits<{
initialFolder: { (e: 'closed'): void;
type: Object, }>();
required: false
},
},
emits: ['closed'],
data() {
return {
};
},
methods: {
}
});
</script> </script>