Skip to content
Snippets Groups Projects
Unverified Commit 48e29435 authored by Acid Chicken (硫酸鶏)'s avatar Acid Chicken (硫酸鶏)
Browse files

test: add stories for `MkChannelPreview`

parent 01b7ce11
No related branches found
No related tags found
No related merge requests found
import MkChannelList from './MkChannelList.vue';
void MkChannelList;
/* eslint-disable @typescript-eslint/explicit-function-return-type */
import { StoryObj } from '@storybook/vue3';
import { channel } from '../../.storybook/fakes';
import MkChannelPreview from './MkChannelPreview.vue';
export const Default = {
render(args) {
return {
components: {
MkChannelPreview,
},
setup() {
return {
args,
};
},
computed: {
props() {
return {
...this.args,
};
},
},
template: '<MkChannelPreview v-bind="props" / >',
};
},
args: {
channel: channel(),
},
parameters: {
layout: 'default',
},
} satisfies StoryObj<typeof MkChannelPreview>;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment