From 2e4cc830b787c89383d15c78f11317f44ae4a288 Mon Sep 17 00:00:00 2001 From: ngken0995 <59739226+ngken0995@users.noreply.github.com> Date: Fri, 13 Oct 2023 00:24:33 -0400 Subject: [PATCH] Create VTag component (#3137) * create VTag component * revise VTag and VMediaTags * revise test and update VMediaTags * run just lint * revise VTag storybook * revise VTag storybook * Update frontend/src/components/VTag/meta/VTag.stories.mdx --------- Co-authored-by: Panisa Busayanont Co-authored-by: Olga Bulat --- .../src/components/VMediaInfo/VMediaTags.vue | 26 ++++++++-- frontend/src/components/VTag/VTag.vue | 31 ++++++++++++ .../src/components/VTag/meta/VTag.stories.mdx | 48 +++++++++++++++++++ 3 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 frontend/src/components/VTag/VTag.vue create mode 100644 frontend/src/components/VTag/meta/VTag.stories.mdx diff --git a/frontend/src/components/VMediaInfo/VMediaTags.vue b/frontend/src/components/VMediaInfo/VMediaTags.vue index 3d4bc4c5b9a..bbe43f39dea 100644 --- a/frontend/src/components/VMediaInfo/VMediaTags.vue +++ b/frontend/src/components/VMediaInfo/VMediaTags.vue @@ -1,25 +1,45 @@ diff --git a/frontend/src/components/VTag/VTag.vue b/frontend/src/components/VTag/VTag.vue new file mode 100644 index 00000000000..d676f6e4bc8 --- /dev/null +++ b/frontend/src/components/VTag/VTag.vue @@ -0,0 +1,31 @@ + + + diff --git a/frontend/src/components/VTag/meta/VTag.stories.mdx b/frontend/src/components/VTag/meta/VTag.stories.mdx new file mode 100644 index 00000000000..ba4fc6b9070 --- /dev/null +++ b/frontend/src/components/VTag/meta/VTag.stories.mdx @@ -0,0 +1,48 @@ +import { + ArgsTable, + Canvas, + Description, + Meta, + Story, +} from "@storybook/addon-docs" + +import VTag from "~/components/VTag/VTag.vue" + + + +export const Template = (args) => ({ + template: ``, + components: { VTag }, + setup() { + return { args } + }, +}) + +# VTag + + + + + + + + {Template.bind({})} + +