summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNotificationSettingWindow.stories.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/MkNotificationSettingWindow.stories.ts')
-rw-r--r--packages/frontend/src/components/MkNotificationSettingWindow.stories.ts11
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkNotificationSettingWindow.stories.ts b/packages/frontend/src/components/MkNotificationSettingWindow.stories.ts
index adc6627f58..78dc44c8ad 100644
--- a/packages/frontend/src/components/MkNotificationSettingWindow.stories.ts
+++ b/packages/frontend/src/components/MkNotificationSettingWindow.stories.ts
@@ -5,10 +5,15 @@ const meta = {
component: MkNotificationSettingWindow,
};
export const Default = {
- components: {
- MkNotificationSettingWindow,
+ render(args, { argTypes }) {
+ return {
+ components: {
+ MkNotificationSettingWindow,
+ },
+ props: Object.keys(argTypes),
+ template: '<MkNotificationSettingWindow v-bind="$props" />',
+ };
},
- template: '<MkNotificationSettingWindow />',
parameters: {
layout: 'centered',
},