build(#10336): sync
This commit is contained in:
parent
723cff0205
commit
8332c03bd8
File diff suppressed because one or more lines are too long
@ -0,0 +1,34 @@
|
||||
/* eslint-disable @typescript-eslint/explicit-function-return-type */
|
||||
/* eslint-disable import/no-default-export */
|
||||
import { Meta, StoryObj } from '@storybook/vue3';
|
||||
import drive_cleaner from './drive-cleaner.vue';
|
||||
const meta = {
|
||||
title: 'pages/settings/drive-cleaner',
|
||||
component: drive_cleaner,
|
||||
} satisfies Meta<typeof drive_cleaner>;
|
||||
export const Default = {
|
||||
render(args) {
|
||||
return {
|
||||
components: {
|
||||
drive_cleaner,
|
||||
},
|
||||
setup() {
|
||||
return {
|
||||
args,
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
props() {
|
||||
return {
|
||||
...args,
|
||||
};
|
||||
},
|
||||
},
|
||||
template: '<drive_cleaner v-bind="props" />',
|
||||
};
|
||||
},
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
} satisfies StoryObj<typeof drive_cleaner>;
|
||||
export default meta;
|
Loading…
Reference in New Issue
Block a user