mobilizon.chapril.org-mobil.../js/src/components/Post/SharePostModal.story.vue
Thomas Citharel ee20e03cc2
Migrate to Vue 3 and Vite
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00

21 lines
464 B
Vue

<template>
<Story>
<Variant title="Public">
<SharePostModal :post="{ ...post, visibility: PostVisibility.PUBLIC }" />
</Variant>
<Variant title="Private">
<SharePostModal :post="post" />
</Variant>
</Story>
</template>
<script lang="ts" setup>
import { PostVisibility } from "@/types/enums";
import SharePostModal from "./SharePostModal.vue";
const post = {
title: "hello",
url: "https://mobilizon.fr/p/an-uuid",
};
</script>